itchytoes Posted August 6, 2009 Share Posted August 6, 2009 HiI'm using JRXmlUtils.parse() to generate a Document from XML contient that comes from a URL.The content is all ascii, and certain characters are specified as xxx if they are outside the ascii range.However, by the time the Document is created, those characters have become hex 3F in the text node data.When I call getTextContent() and dump out the byte[] array that represents the characters, I just see the hex 3F. I no longer see the special xxx ascii.Where did they go? or this is a much complicated XML processing issue? Thanks Betty Link to comment Share on other sites More sharing options...
lucianc Posted August 14, 2009 Share Posted August 14, 2009 yz are XML numerical entities which get processed by the parser into the actual character that they represent. This is standard XML functionality. How do you expect it to work?Regards,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now