Hi 
I am using xerces 2.6.2.
I am using DOMParser to parse an inputStream with an encoding of type UTF-16
and the parser is hanging. I have successfully parsed documents where the
encoding is set to UTF-8. 

I have the following:
ppin = new FilterInputStream (new BufferedInputStream(socket
          .getInputStream())); 

DOMParser myParser = new DOMParser();

myParser.parse(new InputSource(ppin));

Any suggestions/comments would be much appreciated.
thanks

-- 
View this message in context: 
http://www.nabble.com/DOMParser.parse-method-hanging-when-trying-to-parse-a-UTF-16-document-tp18979412p18979412.html
Sent from the Xerces - J - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to