Ok, I'm getting the error even with .xq.
The error is :
Stopped at /Applications/Holismo/webapp/c-classes.xq, 5/28:
[bxerr:BASX0010] Database option not allowed in library module: chop.
The file is attached. I turned it into a .xq because it has a function that modifies content and even changes on attributes have caused issues with spacing in the past.
Maybe I'm not allowed to define a namespace on a main module, and therefore it's read as a library module?
On Wed, Jul 20, 2016 at 3:16 PM, France Baril france.baril@architextus.com wrote:
I haven't been following up with all the changes. I just saw this from 7.7:
Updated: RESTXQ function may now also be specified in main modules
(suffix: *.xq).
I think I can work with all *.xq then. I'll let you know how it goes.