Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Convert invalid xml characters to HTML-Entity

843834Jan 23 2007 — edited Jan 28 2007
Hi,

How can i convert invalid XML characters like ,,, . . . to the HTML- Entity &auml &uuml &ouml ?

Is there any Method or class who can handle an input string and transform the invalid characters?
Or is there another way to mask this characters so that an XML parser do not throw an error when parsing the document.

Best regards,
Michael
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2007
Added on Jan 23 2007
12 comments
493 views