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-05-04 11:07:30 -0400 |
commit | 39350ff2e9a82aaba2d315f2a656e52f18ae0921 (patch) | |
tree | 22eb7b4890457e2343ca475d46d39d1a25b0e1de /schemas/packages.xsd | |
parent | 592934c1f8e29fcfda53c90344c949f348ff94d4 (diff) | |
download | bcfg2-39350ff2e9a82aaba2d315f2a656e52f18ae0921.tar.gz bcfg2-39350ff2e9a82aaba2d315f2a656e52f18ae0921.tar.bz2 bcfg2-39350ff2e9a82aaba2d315f2a656e52f18ae0921.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"/> |