diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-08-17 13:06:30 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-08-17 13:06:39 -0400 |
commit | 8289840bf162f079de678abca5144f97bf491c13 (patch) | |
tree | 1593bf17e7e51f1e17d0bad5e208200af9d5797f /schemas/grouppatterns.xsd | |
parent | d3aa0c11d66ec50ce18bada80bbf2e6beba32a93 (diff) | |
download | bcfg2-8289840bf162f079de678abca5144f97bf491c13.tar.gz bcfg2-8289840bf162f079de678abca5144f97bf491c13.tar.bz2 bcfg2-8289840bf162f079de678abca5144f97bf491c13.zip |
Fixed GroupPatterns schema to allow multiple NameRange or NamePattern tags (which was already supported by the code)
Diffstat (limited to 'schemas/grouppatterns.xsd')
-rw-r--r-- | schemas/grouppatterns.xsd | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/schemas/grouppatterns.xsd b/schemas/grouppatterns.xsd index 36880d0a5..712d21f6c 100644 --- a/schemas/grouppatterns.xsd +++ b/schemas/grouppatterns.xsd @@ -8,18 +8,11 @@ </xsd:annotation> <xsd:complexType name='PatternType'> - <xsd:choice maxOccurs='1' minOccurs='1'> - <xsd:sequence> - <xsd:element name="NamePattern" type="xsd:string" minOccurs='1' - maxOccurs='1'/> - <xsd:element name="Group" type="xsd:string" minOccurs='1' - maxOccurs='unbounded'/> - </xsd:sequence> - <xsd:sequence> - <xsd:element name="NameRange" type="xsd:string"/> - <xsd:element name="Group" type="xsd:string" minOccurs='1' - maxOccurs='unbounded'/> - </xsd:sequence> + <xsd:choice minOccurs='1' maxOccurs='unbounded'> + <xsd:element name="NameRange" type="xsd:string"/> + <xsd:element name="NamePattern" type="xsd:string"/> + <xsd:element name="Group" type="xsd:string" minOccurs='1' + maxOccurs='unbounded'/> </xsd:choice> </xsd:complexType> |