Dear BaseX People,

after many (happy!) projects using BaseX I have found that  

curl -i -X PUT --basic --user admin ^
   -H "Content-Type: application/xml" -d "<text> test for <element/> me </text>" "http://localhost:8984/rest/LeapinLists/test.xml"

stores

<text>test for<element/>me</text>

To the database. Notice the spaces in the XML string. What may have caused this behavior? Any suggestions on what to do here?

I tried it on Basex 9.3, the latest edition right now.

--
Arjan Loeffen
Armatiek BV & Armatiek Solutions BV
06-12918997