Details
Description
Recommend changing line 107 from this:
(Localizer.getMessage("jsp.error.parse.xml", uri), sx);
To this:
(Localizer.getMessage("jsp.error.parse.xml", uri) + " - SAXException: " + sx.getMessage(), sx);
Because when a ParseException occurs within the ParserUtils.parseXMLDocument() method, the sx.getMessage() can be very helpful in understanding what caused the exception to be thrown. As the code stands now, the message is ignored.
Neil
(Localizer.getMessage("jsp.error.parse.xml", uri), sx);
To this:
(Localizer.getMessage("jsp.error.parse.xml", uri) + " - SAXException: " + sx.getMessage(), sx);
Because when a ParseException occurs within the ParserUtils.parseXMLDocument() method, the sx.getMessage() can be very helpful in understanding what caused the exception to be thrown. As the code stands now, the message is ignored.
Neil
Backported to icefaces-1.6 branch.