If I attempt to create a resource using PUT or POST using XForms Submission mechanism, it fails because by default, XForms Submissions use application/xml as content-type, but BaseX expects text/xml. BaseX actually fails the request if given application/xml!
Would like BaseX to support XForms - XForms default submission mediatypes are listed at http://www.w3.org/TR/xforms11/#submit-options
That's an interesting suggestion. We have come across other use cases in which text/xml was the preferred content-type, but it could be reasonable to add application/xml to be conformant with the XForms requirements (this is going to happen pretty soon, as we've just extended some other REST features).
More feedback is welcome, Christian