Thanks for you answer ,
I know about the emcoding issue, and is not it. I ment that sometimes a document can contain invalid Unicode characters (such as Unicode (0x00) ) that are not allowed in XML content. Is there any way in Java to parse/scan the document before parsing in with Xerces/Xalan. My XML files are being build dynamicly and there is no I can guarantee that the file "valid all the way". Thanks in advance.
Christopher Ebert wrote: >
Hi,
Most likely you are reading the file with the wrong encoding. This might be because it is relying on a default encoding, or it might specify the wrong encoding in the file. If you don't have an editor that allows you to experiment, you can write a Java program to read the file with different encodings -- the exception you're seeing is from the low level Java IO, filtered by Xerces.
Chris
-----Original Message-----
From: Dima Gutzeit [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 25, 2002 9:23 PM
To: [EMAIL PROTECTED]
Subject: Valid XML charactersHi all ,Sometimes when parsing XML files I get an error message(exception) about "invalid Unicode characters" , is there any way to filter those before parsing ?Thanks.
Regards ,
Dima Gutzeit.
---------------------------------
MailVision LTD.
R&D Team.
Phone: 972 - 4 - 8508020
Fax: 972 - 3 - 9285149
http://www.mailvision.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Regards ,
Dima Gutzeit.
---------------------------------
MailVision LTD.
R&D Team.
Phone: 972 - 4 - 8508020
Fax: 972 - 3 - 9285149
http://www.mailvision.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
