jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1462) repository.xml: throw an exception on error
Date Wed, 24 Sep 2008 08:07:44 GMT

    [ https://issues.apache.org/jira/browse/JCR-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634052#action_12634052
] 

Alexander Klimetschek commented on JCR-1462:
--------------------------------------------

What about a two-pass parsing: in the first pass enable validation and log errors/warnings,
but don't stop and don't build the internal config. Now in the second pass we disable validation
and build the config, just as before.

This way we at least print helpful errors on the console, without breaking the startup for
still-working repository.xml files. WDYT?

> repository.xml: throw an exception on error
> -------------------------------------------
>
>                 Key: JCR-1462
>                 URL: https://issues.apache.org/jira/browse/JCR-1462
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: jackrabbit-core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: configPatch.txt
>
>
> Currently, unsupported parameters in repository.xml and workspace.xml are ignored.
> To find problems earlier, such problems should result in an exception,
> and starting such a repository should not be possible.
> The same should happen for unsupported values.
> For currently unavailable options
> (such as text extraction filter classes if the class is not in the classpath),
> at least a warning should be written to the error log, or an error should be thrown.

-- 
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