diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-04-08 13:29:12 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-04-08 13:29:12 -0400 |
commit | 3798e8c5c0544ce62ab2c8751ddb21bbd4726d1c (patch) | |
tree | 7e888a208d9f420c3398554340a2619ffebf5e5b /schemas/metadata.xsd | |
parent | 2e1a79fe401bea5b33551b9f94689524bf43cdca (diff) | |
download | bcfg2-3798e8c5c0544ce62ab2c8751ddb21bbd4726d1c.tar.gz bcfg2-3798e8c5c0544ce62ab2c8751ddb21bbd4726d1c.tar.bz2 bcfg2-3798e8c5c0544ce62ab2c8751ddb21bbd4726d1c.zip |
A number of schema changes/fixes/updates:
* altsrc attr is not allowed on Service and Action tags
* Removed duplicate definition of PackageType, fixed required attrs
* Removed deprecated <Ignore> tags in BoundPackage Instances
* Added Genshi schema, made Genshi bundles validate
* Use builtin xs:boolean type where possible
Diffstat (limited to 'schemas/metadata.xsd')
-rw-r--r-- | schemas/metadata.xsd | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/schemas/metadata.xsd b/schemas/metadata.xsd index 1c2474eac..7d07c4971 100644 --- a/schemas/metadata.xsd +++ b/schemas/metadata.xsd @@ -11,12 +11,6 @@ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/> - <xsd:simpleType name='booleanType'> - <xsd:restriction base="xsd:string"> - <xsd:pattern value="true|false"/> - </xsd:restriction> - </xsd:simpleType> - <xsd:complexType name='groupType'> <xsd:choice minOccurs='0' maxOccurs='unbounded'> <xsd:element name='Bundle'> @@ -30,9 +24,9 @@ </xsd:complexType> </xsd:element> </xsd:choice> - <xsd:attribute type='booleanType' name='profile' use='optional'/> - <xsd:attribute type='booleanType' name='public' use='optional'/> - <xsd:attribute type='booleanType' name='default' use='optional'/> + <xsd:attribute type='xsd:boolean' name='profile' use='optional'/> + <xsd:attribute type='xsd:boolean' name='public' use='optional'/> + <xsd:attribute type='xsd:boolean' name='default' use='optional'/> <xsd:attribute type='xsd:string' name='name' use='required'/> <xsd:attribute type='xsd:string' name='auth' use='optional'/> <xsd:attribute type='xsd:string' name='category' use='optional'/> |