summaryrefslogtreecommitdiffstats
path: root/schemas/deps.xsd
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-12-10 17:19:54 -0600
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-12-10 17:22:38 -0600
commit9d6e6241954d001a5b49e4ea9a48c10e2a792958 (patch)
tree270309c0e04eacf2ce1e0d6cc6d61f1485899c0a /schemas/deps.xsd
parent7dcb468f09781bacf79823748ef12bfbd1faeb21 (diff)
downloadbcfg2-9d6e6241954d001a5b49e4ea9a48c10e2a792958.tar.gz
bcfg2-9d6e6241954d001a5b49e4ea9a48c10e2a792958.tar.bz2
bcfg2-9d6e6241954d001a5b49e4ea9a48c10e2a792958.zip
generate XML schema docs from XML schemas themselves
Diffstat (limited to 'schemas/deps.xsd')
-rw-r--r--schemas/deps.xsd21
1 files changed, 10 insertions, 11 deletions
diff --git a/schemas/deps.xsd b/schemas/deps.xsd
index b1400c320..58d19f699 100644
--- a/schemas/deps.xsd
+++ b/schemas/deps.xsd
@@ -1,5 +1,4 @@
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en">
-
<xsd:annotation>
<xsd:documentation>
dependency schema for bcfg2
@@ -7,21 +6,21 @@
</xsd:documentation>
</xsd:annotation>
- <xsd:complexType name='StructureEntry'>
+ <xsd:complexType name='Dependency'>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
<xsd:element name='Package' type='PackageStructure'/>
- <xsd:element name='Service' type='StructureEntry'/>
- <xsd:element name='Path' type='StructureEntry'/>
+ <xsd:element name='Service' type='Dependency'/>
+ <xsd:element name='Path' type='Dependency'/>
</xsd:choice>
<xsd:attribute type='xsd:string' name='name' use='required'/>
</xsd:complexType>
- <xsd:complexType name='GroupType'>
+ <xsd:complexType name='DepsGroupType'>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
<xsd:element name='Package' type='PackageStructure'/>
- <xsd:element name='Service' type='StructureEntry'/>
- <xsd:element name='Path' type='StructureEntry'/>
- <xsd:element name='Group' type='GroupType'/>
+ <xsd:element name='Service' type='Dependency'/>
+ <xsd:element name='Path' type='Dependency'/>
+ <xsd:element name='Group' type='DepsGroupType'/>
</xsd:choice>
<xsd:attribute type='xsd:string' name='name' use='required'/>
</xsd:complexType>
@@ -30,9 +29,9 @@
<xsd:complexType>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
<xsd:element name='Package' type='PackageStructure'/>
- <xsd:element name='Service' type='StructureEntry'/>
- <xsd:element name='Path' type='StructureEntry'/>
- <xsd:element name='Group' type='GroupType'/>
+ <xsd:element name='Service' type='Dependency'/>
+ <xsd:element name='Path' type='Dependency'/>
+ <xsd:element name='Group' type='DepsGroupType'/>
</xsd:choice>
<xsd:attribute type='xsd:string' name='priority' />
</xsd:complexType>