I am trying to write a java xmlrpc client. However, I got the "org.xml.sax.SAXParseException: Content is not allowed in prolog" error when I tried to call "system.connect()"
After some searching, I found this: http://www.openrdf.org/forum/mvnforum/viewthread?thread=86
Java doesn't handle BOMs on UTF-8 files properly, making the three header bytes appear as being part of the document. ...
Is Services module returning utf-8 bom formatted xml?
I tried both redstone and apache library and got the same error. Thanks!
Comments
Comment #1
marcingy commented