jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fabrizio giustina (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3520) Indexing configuration dtd outdated
Date Wed, 13 Feb 2013 09:34:12 GMT
fabrizio giustina created JCR-3520:
--------------------------------------

             Summary: Indexing configuration dtd outdated
                 Key: JCR-3520
                 URL: https://issues.apache.org/jira/browse/JCR-3520
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: indexing
    Affects Versions: 2.4, 2.6
            Reporter: fabrizio giustina


http://jackrabbit.apache.org/dtd/indexing-configuration-1.2.dtd looks outdated, some of the
examples found in http://wiki.apache.org/jackrabbit/IndexingConfiguration are not valid according
this dtd.

For examples this config (from samples):

  <aggregate primaryType="nt:file">
    <include>*</include>
    <include>*/*</include>
    <include>*/*/*</include>
  </aggregate>

is marked as invalid because according to the dtd "include-property" is required:

The content of element type "aggregate" is incomplete, it must match "(include*,include-property)".


Also the properties added with JCR-2989 are not valid according to the dtd:

  <aggregate primaryType="nt:folder" recursive="true" recursiveLimit="10">
    <include-property>dummy</include-property>
  </aggregate>

- Attribute "recursiveLimit" must be declared for element type "aggregate".
- Attribute "recursive" must be declared for element type "aggregate".



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message