I do want the option to affect all modules. I handle mixed content. Space removal affects the integrity of my content.
I remember having a lot of problems with that at first. Most of my modules apply changes to content. I have very few read only modules, and from what I remember, even adding an attribute to an element would mess up the content. I have become obsessive with the chop no option.
Obsessed or not, I've commented them out just to run a few tests and see if I can still keep my content intact, but now I'm having issues with:
[bxerr:BASX0003] Unknown serialization parameter "method".
It looks like I'm in for a lot of refactoring before I can test how much the chop option is necessary. Is there a page that explains these new changes, and also how to work with the different types of modules, kind of a quick Best Practices reference. I've been using .xqm exclusively so far. I thought they were necessary to handle the restxq calls. Also, if I don't specify the output method, the .js doesn't know what to do with the result. All in all, it seems like my old practices won't work in the future, but I'm not sure how to tackle this. Some guidance, maybe as a quick example would be welcomed.
Thanks