Make sure the 'underlying XMLReader implementation supports the org.xml.sax.ext.Locator2 interface'
See: http://www.dom4j.org/apidocs/org/dom4j/Document.html#getXMLEncoding() Regards, Edwin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user