xql files in Orbeon

Posted by gunmanas on
URL: https://discuss.orbeon.com/xql-files-in-Orbeon-tp43206.html

Hello,

I find a nice login application http://demo.exist-db.org/exist/xquery/login.xql
and want run it from my Orbeon project.
If I trying to run login.xql file - I get an error: "Fatal error: Content is not allowed in prolog" at oxf:/apps/forms/login.xql 1 line.

So, what the problem? Maybe Orbeon or server not supported .xql files?
Or maybe someone know other good login examples?