J
Jim Cobban
Due to a problem which I am discussing on another thread the UTF-8 text in
my XML file is being corrupted.
The problem that leaves me with is that as soon as the Xerces parser hits
the bad UTF-8 character it throws:
java.io.UTFDataFormatException: invalid byte 2 of 3-byte UTF-8 sequence
and the parse is aborted.
This seems overkill.
Short of going in and modifying my copy of Xerces is there any way to get it
to keep on parsing the XML file past this error? Since this is an IOError,
not a SAXParseException it is not reported to the ErrorHandler interface.
--
Jim Cobban (e-mail address removed)
34 Palomino Dr.
Kanata, ON, CANADA
K2M 1M1
+1-613-592-9438
my XML file is being corrupted.
The problem that leaves me with is that as soon as the Xerces parser hits
the bad UTF-8 character it throws:
java.io.UTFDataFormatException: invalid byte 2 of 3-byte UTF-8 sequence
and the parse is aborted.
This seems overkill.
Short of going in and modifying my copy of Xerces is there any way to get it
to keep on parsing the XML file past this error? Since this is an IOError,
not a SAXParseException it is not reported to the ErrorHandler interface.
--
Jim Cobban (e-mail address removed)
34 Palomino Dr.
Kanata, ON, CANADA
K2M 1M1
+1-613-592-9438