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!

JDOM XMLOutputter - exception thrown with illegal character 0x10

843834Feb 8 2003 — edited Feb 9 2003
Hi all,

I am trying to write a XML file using JDOM and a XMLOutputter.

However, when I add a particular element to the outputter, the JDOM throws an IllegalDataException saying that character 0x10 (i.e. ISO character 16) is not allowed.

When I comment out this particular element, the rest of the file saves absolutely fine and I can see that other characters below 0x20 are being escaped properly in to their XML forms.

I have tried changing the encoding type, tried using CDATA or Text types and I have had no success so far.

Can anybody shed any light? I really can't see why the outputter doesn't seem to want to escape this character. Thanks very much in advance.

Kind regards,
Steven Read.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 9 2003
Added on Feb 8 2003
5 comments
389 views