ICEfaces
  1. ICEfaces
  2. ICE-1679

ParserUtils.java is hiding a useful error message contained within the SAXException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#5
    • Fix Version/s: 1.6.2, 1.7DR#1, 1.7
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP / Tomcat 5.5.17

      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

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14981 Thu Oct 18 16:36:12 MDT 2007 ted.goddard logging SAXException (ICE-1679)
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/jasper/xmlparser/ParserUtils.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14828 Wed Sep 19 11:59:57 MDT 2007 ted.goddard logging SAXException (ICE-1679)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/jasper/xmlparser/ParserUtils.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Neil Griffin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: