summaryrefslogtreecommitdiffstats
path: root/schemas/pkglist.xsd
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-02-27 19:52:17 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-02-27 19:52:17 +0000
commit0ddc77cdd798577b3ecbdf047ceda7be58349cd8 (patch)
tree28dc8cf9c94967f15efa9898a18880433986e64a /schemas/pkglist.xsd
parentea3942c692ddbb14a0e702f6d50ca9d03431e47c (diff)
downloadbcfg2-0ddc77cdd798577b3ecbdf047ceda7be58349cd8.tar.gz
bcfg2-0ddc77cdd798577b3ecbdf047ceda7be58349cd8.tar.bz2
bcfg2-0ddc77cdd798577b3ecbdf047ceda7be58349cd8.zip
Add BoundEntry support to bundle schema
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5090 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'schemas/pkglist.xsd')
-rw-r--r--schemas/pkglist.xsd52
1 files changed, 5 insertions, 47 deletions
diff --git a/schemas/pkglist.xsd b/schemas/pkglist.xsd
index d4828716a..b92764751 100644
--- a/schemas/pkglist.xsd
+++ b/schemas/pkglist.xsd
@@ -8,56 +8,14 @@
</xsd:documentation>
</xsd:annotation>
+ <xsd:include schemaLocation="pkgtype.xsd"/>
<xsd:include schemaLocation="types.xsd"/>
- <xsd:complexType name='PackageType'>
- <xsd:choice minOccurs='0' maxOccurs='unbounded'>
- <xsd:element name='Ignore'>
- <xsd:complexType>
- <xsd:attribute type='xsd:string' name='name'/>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name='Instance'>
- <xsd:complexType>
- <xsd:choice minOccurs='0' maxOccurs='unbounded'>
- <xsd:element name='Ignore'>
- <xsd:complexType>
- <xsd:attribute type='xsd:string' name='name'/>
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- <xsd:attribute name='arch' type='xsd:string'/>
- <xsd:attribute name='epoch' type='xsd:string'/>
- <xsd:attribute name='version' type='xsd:string'/>
- <xsd:attribute name='release' type='xsd:string'/>
- <xsd:attribute name='simplefile' type='xsd:string'/>
- <xsd:attribute name='pkg_verify' type='xsd:string'/>
- <xsd:attribute name='verify_flags' type='xsd:string'/>
- <xsd:attribute name='installed_action' type='xsd:string'/>
- <xsd:attribute name='version_fail_action' type='xsd:string'/>
- <xsd:attribute name='verify_fail_action' type='xsd:string'/>
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- <xsd:attribute type='xsd:string' name='name'/>
- <xsd:attribute type='xsd:string' name='version'/>
- <xsd:attribute type='xsd:string' name='file'/>
- <xsd:attribute type='xsd:string' name='verify'/>
- <xsd:attribute type='xsd:string' name='simplefile'/>
- <xsd:attribute type='xsd:string' name='reloc'/>
- <xsd:attribute type='xsd:string' name='multiarch'/>
- <xsd:attribute type='xsd:string' name='srcs'/>
- <xsd:attribute type='xsd:string' name='type'/>
- <xsd:attribute type='xsd:string' name='bname'/>
- <xsd:attribute name='pkg_checks' type='xsd:string'/>
- <xsd:attribute name='verify_flags' type='xsd:string'/>
- </xsd:complexType>
-
- <xsd:complexType name='ContainerType'>
+ <xsd:complexType name='PackageContainerType'>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
<xsd:element name='Package' type='PackageType'/>
- <xsd:element name='Group' type='ContainerType'/>
- <xsd:element name='Client' type='ContainerType'/>
+ <xsd:element name='Group' type='PackageContainerType'/>
+ <xsd:element name='Client' type='PackageContainerType'/>
</xsd:choice>
<xsd:attribute name='name' type='xsd:string'/>
<xsd:attribute name='negate' type='xsd:string'/>
@@ -66,7 +24,7 @@
<xsd:element name='PackageList'>
<xsd:complexType>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
- <xsd:element name='Group' type='ContainerType'/>
+ <xsd:element name='Group' type='PackageContainerType'/>
</xsd:choice>
<xsd:attribute name='priority' type='xsd:integer' use='required'/>
<xsd:attribute name='type' use='optional' type='PackageTypeEnum' />