summaryrefslogtreecommitdiffstats
path: root/schemas/clients.xsd
diff options
context:
space:
mode:
authorJonathan Billings <jsbillin@umich.edu>2011-07-11 10:33:16 -0400
committerJonathan Billings <jsbillin@umich.edu>2011-07-11 10:33:16 -0400
commit314d032673384956fbe791e1105e17b1a4bbb7ec (patch)
tree68d814c41e60d79ef7e9b39684322fddde641cd4 /schemas/clients.xsd
parent16ad53c10645ce0a097663780ecb5f92a92568f1 (diff)
downloadbcfg2-314d032673384956fbe791e1105e17b1a4bbb7ec.tar.gz
bcfg2-314d032673384956fbe791e1105e17b1a4bbb7ec.tar.bz2
bcfg2-314d032673384956fbe791e1105e17b1a4bbb7ec.zip
Schemas: change client.xsd, allow multiple Client entries in XIncluded file
For some reason, using an XIncluded file with more than one Client on my RHEL5 systems would generate an invalid schema, even though it was acceptable to bcfg2-server, and would pass on my Fedora 15 workstation. This change will make bcfg2-lint on RHEL5 accept XIncluded files with more than one Client entry.
Diffstat (limited to 'schemas/clients.xsd')
-rw-r--r--schemas/clients.xsd24
1 files changed, 9 insertions, 15 deletions
diff --git a/schemas/clients.xsd b/schemas/clients.xsd
index 09ddf22db..0a9ce5202 100644
--- a/schemas/clients.xsd
+++ b/schemas/clients.xsd
@@ -29,19 +29,13 @@
<xsd:attribute type='xsd:string' name='address'/>
</xsd:complexType>
- <xsd:element name='Clients'>
- <xsd:complexType>
- <xsd:choice minOccurs='0' maxOccurs='unbounded'>
- <xsd:element name='Client' type='ClientType'/>
- <xsd:element name='Clients'>
- <xsd:complexType>
- <xsd:choice>
- <xsd:element name='Client' type='ClientType'/>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- <xsd:attribute name='version' type='xsd:string'/>
- </xsd:complexType>
- </xsd:element>
+ <xsd:complexType name='ClientsType'>
+ <xsd:choice minOccurs='0' maxOccurs='unbounded'>
+ <xsd:element name='Client' type='ClientType'/>
+ <xsd:element name='Clients' type='ClientsType'/>
+ </xsd:choice>
+ <xsd:attribute name='version' type='xsd:string'/>
+ </xsd:complexType>
+
+ <xsd:element name='Clients' type='ClientsType'/>
</xsd:schema>