Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3520

Indexing configuration dtd outdated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4, 2.6
    • None
    • indexing
    • None

    Description

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            fgiust Fabrizio Giustina
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: