summaryrefslogtreecommitdiffstats
path: root/schemas/nagiosgen.xsd
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-02-04 13:51:38 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-02-04 13:51:38 -0500
commitdfe9dac83a9f6553b9d075fa14fcd28235aabda9 (patch)
tree68a80302d291e78fdea3b317a0c2742fa4fc65e2 /schemas/nagiosgen.xsd
parentcfa769abf8e464acee43e1cac359b0f7e5fc5e4b (diff)
downloadbcfg2-dfe9dac83a9f6553b9d075fa14fcd28235aabda9.tar.gz
bcfg2-dfe9dac83a9f6553b9d075fa14fcd28235aabda9.tar.bz2
bcfg2-dfe9dac83a9f6553b9d075fa14fcd28235aabda9.zip
updated StructFile schemas to allow genshi attrs/elements
Diffstat (limited to 'schemas/nagiosgen.xsd')
-rw-r--r--schemas/nagiosgen.xsd8
1 files changed, 8 insertions, 0 deletions
diff --git a/schemas/nagiosgen.xsd b/schemas/nagiosgen.xsd
index 99d6b91c6..0ef1fb064 100644
--- a/schemas/nagiosgen.xsd
+++ b/schemas/nagiosgen.xsd
@@ -6,23 +6,31 @@
</xsd:documentation>
</xsd:annotation>
+ <xsd:import namespace="http://genshi.edgewall.org/"
+ schemaLocation="genshi.xsd"/>
+
<xsd:complexType name="NagiosGenGroupType">
<xsd:choice minOccurs="1" maxOccurs="unbounded">
+ <xsd:group ref="py:genshiElements"/>
<xsd:element name="Option" type="OptionType"/>
<xsd:element name="Group" type="NagiosGenGroupType"/>
<xsd:element name="Client" type="NagiosGenGroupType"/>
</xsd:choice>
<xsd:attribute type="xsd:string" name="name" use="required"/>
<xsd:attribute type="xsd:string" name="negate"/>
+ <xsd:attributeGroup ref="py:genshiAttrs"/>
</xsd:complexType>
<xsd:complexType name="OptionType" mixed="true">
<xsd:attribute type="xsd:string" name="name" use="required"/>
+ <xsd:attributeGroup ref="py:genshiAttrs"/>
</xsd:complexType>
<xsd:element name="NagiosGen">
<xsd:complexType>
<xsd:choice minOccurs="1" maxOccurs="unbounded">
+ <xsd:group ref="py:genshiElements"/>
+ <xsd:element name="Option" type="OptionType"/>
<xsd:element name="Group" type="NagiosGenGroupType"/>
<xsd:element name="Client" type="NagiosGenGroupType"/>
</xsd:choice>