summaryrefslogtreecommitdiffstats
path: root/schemas/metadata.xsd
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-05-25 19:40:58 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-05-25 19:40:58 +0000
commit51eb4f51e388d5f428774ad1b42ed6a4eac50f53 (patch)
treeb13b30775e48b6bdeeaa3ce0bcc13fa7ca77d53d /schemas/metadata.xsd
parent1ef1dfeb7203242ffcc2ef4c27ed0e34f46337f7 (diff)
downloadbcfg2-51eb4f51e388d5f428774ad1b42ed6a4eac50f53.tar.gz
bcfg2-51eb4f51e388d5f428774ad1b42ed6a4eac50f53.tar.bz2
bcfg2-51eb4f51e388d5f428774ad1b42ed6a4eac50f53.zip
* Tighten validation of included groups (Resolves Ticket #54)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1865 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'schemas/metadata.xsd')
-rw-r--r--schemas/metadata.xsd7
1 files changed, 6 insertions, 1 deletions
diff --git a/schemas/metadata.xsd b/schemas/metadata.xsd
index 05f76d71a..30e280dee 100644
--- a/schemas/metadata.xsd
+++ b/schemas/metadata.xsd
@@ -20,6 +20,7 @@
</xsd:restriction>
</xsd:simpleType>
+
<xsd:complexType name='groupType'>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
<xsd:element name='Bundle'>
@@ -27,7 +28,11 @@
<xsd:attribute type='xsd:string' name='name' use='required'/>
</xsd:complexType>
</xsd:element>
- <xsd:element name='Group' type='groupType'/>
+ <xsd:element name='Group' >
+ <xsd:complexType>
+ <xsd:attribute name='name' use='required'/>
+ </xsd:complexType>
+ </xsd:element>
</xsd:choice>
<xsd:attribute type='booleanType' name='profile' use='optional'/>
<xsd:attribute type='booleanType' name='public' use='optional'/>