summaryrefslogtreecommitdiffstats
path: root/schemas/clients.xsd
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-08-03 15:13:13 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-08-03 15:13:13 +0000
commit791c0fef838d42b584c87504ba866cafafc74dcb (patch)
treecbc2bf2290027ffe2a3c0fab36e9736ea0a3493a /schemas/clients.xsd
parenta8f7401eb70856661b417928face26f2a40d3658 (diff)
downloadbcfg2-791c0fef838d42b584c87504ba866cafafc74dcb.tar.gz
bcfg2-791c0fef838d42b584c87504ba866cafafc74dcb.tar.bz2
bcfg2-791c0fef838d42b584c87504ba866cafafc74dcb.zip
Fix client schema to properly validate Client elements with Aliases
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2037 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'schemas/clients.xsd')
-rw-r--r--schemas/clients.xsd9
1 files changed, 8 insertions, 1 deletions
diff --git a/schemas/clients.xsd b/schemas/clients.xsd
index 8e45ab191..4ea533847 100644
--- a/schemas/clients.xsd
+++ b/schemas/clients.xsd
@@ -9,6 +9,13 @@
</xsd:annotation>
<xsd:complexType name='ClientType'>
+ <xsd:choice minOccurs='0' maxOccurs='unbounded'>
+ <xsd:element name='Alias'>
+ <xsd:complexType>
+ <xsd:attribute type='xsd:string' name='name' use='required'/>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
<xsd:attribute type='xsd:string' name='name' use='required'/>
<xsd:attribute type='xsd:string' name='profile' use='required'/>
<xsd:attribute type='xsd:string' name='pingable' use='required'/>
@@ -23,4 +30,4 @@
<xsd:attribute name='version' type='xsd:string'/>
</xsd:complexType>
</xsd:element>
-</xsd:schema> \ No newline at end of file
+</xsd:schema>