Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove some redundancy from collection.xconf schema.

  • Loading branch information...
commit dbdf4946594b2f7c3c625c0d5e4971697d264c3d 1 parent fe6ae53
@wolfgangmm wolfgangmm authored
Showing with 9 additions and 15 deletions.
  1. +9 −15 schema/collection.xconf.xsd
View
24 schema/collection.xconf.xsd
@@ -47,27 +47,27 @@
<xs:choice>
<xs:sequence>
<xs:element ref="fulltext"/>
- <xs:element ref="lucene" minOccurs="0" maxOccurs="1"/>
- <xs:element ref="range" minOccurs="0" maxOccurs="1"/>
- <xs:group ref="rangeIndex" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="lucene" minOccurs="0"/>
+ <xs:element ref="range" minOccurs="0"/>
+ <xs:element name="create" type="rangeIndexType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="ngram" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="gml" minOccurs="0"/>
</xs:sequence>
<xs:sequence>
- <xs:element ref="lucene" maxOccurs="1"/>
- <xs:element ref="range" minOccurs="0" maxOccurs="1"/>
- <xs:group ref="rangeIndex" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="lucene"/>
+ <xs:element ref="range" minOccurs="0"/>
+ <xs:element name="create" type="rangeIndexType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="ngram" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="gml" minOccurs="0"/>
</xs:sequence>
<xs:sequence>
- <xs:element ref="range" maxOccurs="1"/>
- <xs:group ref="rangeIndex" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="range"/>
+ <xs:element name="create" type="rangeIndexType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="ngram" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="gml" minOccurs="0"/>
</xs:sequence>
<xs:sequence>
- <xs:group ref="rangeIndex" maxOccurs="unbounded"/>
+ <xs:element name="create" type="rangeIndexType" maxOccurs="unbounded"/>
<xs:element ref="ngram" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="gml" minOccurs="0"/>
</xs:sequence>
@@ -120,12 +120,6 @@
<xs:attribute name="content" use="optional" type="xs:string" fixed="mixed"/>
</xs:complexType>
- <xs:group name="rangeIndex">
- <xs:choice>
- <xs:element name="create" type="rangeIndexType"/>
- </xs:choice>
- </xs:group>
-
<xs:complexType name="rangeIndexType">
<xs:annotation>
<xs:documentation>Either @qname or @path must be specified. Not both!</xs:documentation>
Please sign in to comment.
Something went wrong with that request. Please try again.