Jump to content
We've recently updated our Privacy Statement, available here ×

JRXmlUtils.parse() and special characters


itchytoes

Recommended Posts

Hi

I'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

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...