dcsimg
JAXB invalid UTF-8 character error
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Uy_Hoang
Posted On:   Wednesday, February 25, 2004 10:30 AM

I am trying to unmarshall a XML object with JAXB that has invalid UTF-8 characters in it. However, I have the text that contains those characters wrapped in CDATA tags. I validated the XML in XMLSpy, so is JAXB just ignoring those CDATA tags or something?

Here's the exception that I get:

javax.xml.bind.JAXBException
- with linked exception:
[java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.]

About | Sitemap | Contact