Max,
This scenario would allow for a pure xhtml/javascript/xquery application.
True – I'm pretty sure this will be changed in the next release. As I discovered, the current issue is that the serialization parameters are interpreted by the implementation (i.e., BaseX) and not the JAX-RX API itself, whereas the content type is set by JAX-RX. As a consequence, the change will have effects on the API as well.
Btw, are there any objections about publicly exposing the jax-rx api in a real world application? What security options would I have besides database user/password?
I asked Lukas, our JAX-RX expert, on this, he'll give you an answer soon.
Best, Christian