Hi,

I?m using a SAXReader (with xerxes-parser on the project class-
path). I set encoding with the setEncoding-method and I set an 
XMLErrorHandler with the setErrorHandler method.

I use the read(InputStream) method to read in an inputstream 
in a dom4j Document.

My question is: How does the SAXReader respond if it finds a 
character which is not ?valid? for the specified character set 
(specified by setEncoding-method)?
Does it just skip the character? Or does it throw the 
DocumentException ?

Any help much appreciated!

Håkan Jacobsson - System Developer


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to