Reading UTF-16: Content is not allowed in prolog

2006-10-30 Thread Jones, David [deljones]
Hi I've been trying to write and read back a UTF-16 encoded XML document, without success. I can seemingly write the document ok (see  WriteUTF16.java ) and Firefox can open it without complaining (except the fact it doesn't have any style information). When I try and read back the document

RE: Reading UTF-16: Content is not allowed in prolog

2006-10-31 Thread Jones, David [deljones]
Apologies for creating more traffic. Many thanks for all the suggestions; they worked, the actual document wasn't being encoded as UTF16, which was causing the problem.   Once again many thanks,   david  From: Robert Houben [mailto:[EMAIL PROTECTED] Sent: 30 October 2006 18:32To: j-users@x