jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1531) [PATCH] Add Column and line numbers to repository.xml parse exception messages
Date Fri, 11 Apr 2008 03:56:04 GMT

     [ https://issues.apache.org/jira/browse/JCR-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dave Brosius updated JCR-1531:
------------------------------

    Attachment: report_config_parse_error_position.patch

> [PATCH] Add Column and line numbers to repository.xml parse exception messages
> ------------------------------------------------------------------------------
>
>                 Key: JCR-1531
>                 URL: https://issues.apache.org/jira/browse/JCR-1531
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: core 1.4.2
>            Reporter: Dave Brosius
>            Priority: Trivial
>             Fix For: 1.5
>
>         Attachments: report_config_parse_error_position.patch
>
>
> Code caught SAXExceptions when the an xml parsing exception occurred parsing the repository.xml.
But catching SAXParseException (a subclass) allows access to column and line numbers of the
problem. So also catch this exception and add this to the exception message to make it easier
to fix errors.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message