[ http://issues.apache.org/jira/browse/MYFACES-183?page=all ]
sean schofield closed MYFACES-183:
----------------------------------
Fix Version: Nightly Build
Resolution: Fixed
> FacesConfigurator should report where xml parsing errors occur
> --------------------------------------------------------------
>
> Key: MYFACES-183
> URL: http://issues.apache.org/jira/browse/MYFACES-183
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9 beta
> Reporter: Mike Kienenberger
> Priority: Minor
> Fix For: Nightly Build
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira