Description
During parsing (XMLReader.parse()), when a character encoding problem happens on the input (e.g. a java.io.CharConversionException is thrown) it is reported as SAXException but any trace from the original exception is lost (except the exception message) thus making it harder to recognize the initial problem. Making the original exception accessible through SAXException.getException() (and/or Exception.getCause()) will help in recognizing character encoding problems easier.