Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.4, 2.6
-
None
-
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".