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
This issue is related to this one:
http://jira.icefaces.org/browse/ICE-1681
In that if the scenario described in
ICE-1681occurs, then this issue becomes relevant.