jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1718) repository-1.5.dtd: change order of main elements
Date Tue, 02 Sep 2008 17:33:44 GMT

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

Jukka Zitting updated JCR-1718:

    Remaining Estimate: 0h
     Original Estimate: 0h

Yep, it's fine if the modified DTD is named jackrabbit-1.5.dtd.

But I don't want to introduce (before going to 2.x) a change that breaks existing configuration
files, even if the breakage affects just validation and won't break a functional repository.
Keeping the extra Cluster? around there (or allowing arbitrary order of elements) is a minor

More notably, your argument is essentially that it would be better to reorder the Cluster
element. What's to say that someone else doesn't like some other element (say the search configuration)
being more prominent? If we oblige your wish in this case (and I don't see why we shouldn't),
then IMHO the logical solution would be to allow arbitrary ordering of elements in general
instead of fixing just this one special case.

> repository-1.5.dtd: change order of main elements
> -------------------------------------------------
>                 Key: JCR-1718
>                 URL: https://issues.apache.org/jira/browse/JCR-1718
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>   Original Estimate: 0h
>  Remaining Estimate: 0h
> Currently the order of elements in repository.xml is:
> <!ELEMENT Repository (FileSystem,Security,Workspaces,Workspace,Versioning,SearchIndex?,Cluster?,DataStore?)>
> I would like to change it to
> <!ELEMENT Repository (Cluster?,FileSystem,DataStore?,Security,Workspaces,Workspace,Versioning,SearchIndex?)>
> because I think that makes more sense.
> Currently XML validation is disabled, and therefore the order of elements in the DTD
does not need to match the repository.xml file. However as soon as XML validation is enabled,
repository.xml files that use the wrong order will no longer work (the repository can not
be started).
> There is a request to enable XML validation at http://issues.apache.org/jira/browse/JCR-1462

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

View raw message