diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-04-13 11:40:50 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-04-13 11:40:50 -0400 |
commit | e386c37ff7436f78c1a9dd33e0c90e2b3254c99d (patch) | |
tree | a7df466017cd180d7fbf093234b9bd45d4e83abf /schemas/metadata.xsd | |
parent | 545dda76d34a06ae25efa2eb3d0c8c0bd70127d0 (diff) | |
download | bcfg2-e386c37ff7436f78c1a9dd33e0c90e2b3254c99d.tar.gz bcfg2-e386c37ff7436f78c1a9dd33e0c90e2b3254c99d.tar.bz2 bcfg2-e386c37ff7436f78c1a9dd33e0c90e2b3254c99d.zip |
* Made Metadata files validate whether or not XIncludes had been processed
* bcfg2-repo-validate does not chase XIncludes if --stdin has been
specified, but just validates the Metadata files you provide on
stdin
Diffstat (limited to 'schemas/metadata.xsd')
-rw-r--r-- | schemas/metadata.xsd | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/schemas/metadata.xsd b/schemas/metadata.xsd index 7d07c4971..58f9e8029 100644 --- a/schemas/metadata.xsd +++ b/schemas/metadata.xsd @@ -1,4 +1,5 @@ -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en"> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en"> <xsd:annotation> <xsd:documentation> @@ -10,6 +11,8 @@ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/> + <xsd:import namespace="http://www.w3.org/2001/XInclude" + schemaLocation="xinclude.xsd"/> <xsd:complexType name='groupType'> <xsd:choice minOccurs='0' maxOccurs='unbounded'> @@ -37,6 +40,7 @@ <xsd:choice minOccurs='0' maxOccurs='unbounded'> <xsd:element name='Group' type='groupType'/> <xsd:element name='Groups' type='groupsType'/> + <xsd:element ref="xi:include"/> </xsd:choice> <xsd:attribute name='version' type='xsd:string'/> <xsd:attribute name='origin' type='xsd:string'/> |