In Exist 2.2, When I try to access any .xpl files with REST GET, I get the following error:
/db/beheer/pipe.xpl err:XPST0003 error found while loading module xproc: Error while loading module http://xproc.net/xproc: unexpected token: ! (while expecting closing tag for element constructor: null) [at line 1, column 2]
It seems to me that Exist is processing the *.xpl as if it was something it could execute (like a stored xquery) but then it cannot do so and returns an error.
Is there an easy way to let it return just the XML (the XProc as is instead of error message)?