diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-04-10 16:54:48 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-04-10 16:54:48 -0400 |
commit | 66c5d984bcb9c861a48ff35a00b3fd05dc2a1db5 (patch) | |
tree | 471ebd38d8ecd330ca0196cfa07e00a1609149eb /schemas/packages.xsd | |
parent | 23073f26daf6ca1486d0963aaf38509b20ab9757 (diff) | |
download | bcfg2-66c5d984bcb9c861a48ff35a00b3fd05dc2a1db5.tar.gz bcfg2-66c5d984bcb9c861a48ff35a00b3fd05dc2a1db5.tar.bz2 bcfg2-66c5d984bcb9c861a48ff35a00b3fd05dc2a1db5.zip |
add xml:base attr to all tags that can be xincluded
Diffstat (limited to 'schemas/packages.xsd')
-rw-r--r-- | schemas/packages.xsd | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/schemas/packages.xsd b/schemas/packages.xsd index e09dcf8b5..c29a85ecf 100644 --- a/schemas/packages.xsd +++ b/schemas/packages.xsd @@ -1,5 +1,5 @@ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en"> - + <xsd:annotation> <xsd:documentation> packages config schema for bcfg2 @@ -7,6 +7,9 @@ </xsd:documentation> </xsd:annotation> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" + schemaLocation="xml.xsd"/> + <xsd:simpleType name="sourceTypeEnum"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="yum"/> @@ -45,12 +48,13 @@ </xsd:complexType> <xsd:complexType name="sourcesType"> - <xsd:choice minOccurs="1" maxOccurs="unbounded"> - <xsd:element name="Group" type="groupType"/> - <xsd:element name="Client" type="groupType"/> - <xsd:element name="Source" type="sourceType"/> - <xsd:element name="Sources" type="sourcesType"/> - </xsd:choice> + <xsd:choice minOccurs="1" maxOccurs="unbounded"> + <xsd:element name="Group" type="groupType"/> + <xsd:element name="Client" type="groupType"/> + <xsd:element name="Source" type="sourceType"/> + <xsd:element name="Sources" type="sourcesType"/> + </xsd:choice> + <xsd:attribute ref="xml:base"/> </xsd:complexType> <xsd:element name="Sources" type="sourcesType"/> |