logo       

RE: Character encodings: msg#00244

text.xml.exist

Subject: RE: Character encodings

>I've noticed a similar problem when storing XML files within eXist.

>I've found that if I remove the xml processing instruction from the
>first line of the file, then character encodings are preserved - but keep the
>processing instruction and the characters will not be preserved when retrieving
>the documents.

I too have noticed this problem. If you try a to do a POST of an XML file with
UTF-16 then it causes a SAXParseException "Content is not allowed in prolog."

If you remove the xml processing instruction the HTTP REST POST works fine.




<<winmail.dat>>

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise