Skip to Main Content

Java Programming

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!

is the copyright symbol a valid character for xml?

807589Dec 11 2008 — edited Dec 11 2008
I am reading from another file and writing it to an xml file but when I try to use an xml editor to open the file I get this error: " The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

An invalid character was found in text content. Error processing resource "

I know the copyright symbol is causing the problem because when I take it out, it works fine. I don't know that much about XML but I would like to keep the copyright symbol if possible, but how do I check for that invalid xml character and other invalid characters if they exist? Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 8 2009
Added on Dec 11 2008
21 comments
1,522 views