Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-183

FacesConfigurator should report where xml parsing errors occur

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.0.9m9
    • None
    • None
    • None

    Description

      org.apache.myfaces.config.FacesConfigurator should report which resources it was parsing when it encounters an error.

      This could be done by wrapping the parsing exception with another more verbose exception. Thus, something like

      MyApp ERROR [main 04-12 11:24:18] Digester: Parse Error at line 2 column 14: Document is invalid: no grammar found.
      org.xml.sax.SAXParseException: Document is invalid: no grammar found.

      becomes

      MyApp ERROR [main 04-12 11:24:18] FacesConfigurator : Error parsing jsf-spring-2.7.1.jar:faces-config.xml: Parse Error at line 2 column 14: Document is invalid: no grammar found.
      org.xml.sax.SAXParseException: Document is invalid: no grammar found.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkienenb Mike Kienenberger
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: