summaryrefslogtreecommitdiffstats
path: root/schemas/pathentry.xsd
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2011-04-08 13:29:12 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2011-04-08 13:29:12 -0400
commit3798e8c5c0544ce62ab2c8751ddb21bbd4726d1c (patch)
tree7e888a208d9f420c3398554340a2619ffebf5e5b /schemas/pathentry.xsd
parent2e1a79fe401bea5b33551b9f94689524bf43cdca (diff)
downloadbcfg2-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/pathentry.xsd')
-rw-r--r--schemas/pathentry.xsd9
1 files changed, 7 insertions, 2 deletions
diff --git a/schemas/pathentry.xsd b/schemas/pathentry.xsd
index e3bdeddc6..0c27f9112 100644
--- a/schemas/pathentry.xsd
+++ b/schemas/pathentry.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:py="http://genshi.edgewall.org/" xml:lang="en">
<xsd:annotation>
<xsd:documentation>
@@ -8,9 +9,13 @@
</xsd:documentation>
</xsd:annotation>
+ <xsd:import namespace="http://genshi.edgewall.org/"
+ schemaLocation="genshi.xsd"/>
+
<xsd:complexType name='PathEntry'>
<xsd:attribute type='xsd:string' name='name' use='required'/>
<xsd:attribute type='xsd:string' name='altsrc' use='optional'/>
+ <xsd:attributeGroup ref="py:genshiAttrs"/>
</xsd:complexType>
<xsd:complexType name='BoundPathEntry'>
@@ -21,6 +26,6 @@
<xsd:attribute type='xsd:string' name='prune' use='optional'/>
<xsd:attribute type='xsd:string' name='to' use='optional'/>
<xsd:attribute type='xsd:string' name='type' use='optional'/>
- <xsd:attribute type='xsd:string' name='altsrc' use='optional'/>
+ <xsd:attributeGroup ref="py:genshiAttrs"/>
</xsd:complexType>
</xsd:schema>