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!

An invalid XML character (Unicode: 0x19) was found in the CDATA section.

843834Dec 30 2003 — edited Jan 4 2004
First my declaration in the xml file was:
<?xml version="1.0" encoding="UTF-8"?>
Then since the error(Exception:java.io.UTFDataFormatException: invalid byte 2 of 2-byte UTF-8 sequence (0x3f)) resulted for "�", I changed it to:
"<?xml version="1.0" encoding="ISO-8859-1"?>"
Now for some cases I have an error:
Exception:org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x19) was found in the CDATA section.
What do I do NOW?
What wrong have I been doing in the past?
How could I make sure that no such encoding errors result?

Thanking you in anticipation,

Cheers

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 1 2004
Added on Dec 30 2003
1 comment
1,133 views