Skip to content

Commit

Permalink
Update xml schema declaration for 0.25
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Mar 2, 2012
1 parent 6e2f231 commit 99abdfe
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions mythtv/themes/mythuitheme.xsd
Expand Up @@ -57,23 +57,23 @@
<xs:element name="helptext" type="text" minOccurs="0" maxOccurs="1" />
<xs:element name="focusorder" type="xs:integer" minOccurs="0" maxOccurs="1" />
<xs:element name="minsize" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="size">
<xs:attribute name="vanish" type="boolean" />
<xs:attribute name="initiator" type="boolean" />
<xs:attribute name="shrink">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="short" />
<xs:enumeration value="narrow" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="size">
<xs:attribute name="vanish" type="boolean" />
<xs:attribute name="initiator" type="boolean" />
<xs:attribute name="shrink">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="short" />
<xs:enumeration value="narrow" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="loadondemand" type="boolean" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:group>
Expand All @@ -83,6 +83,7 @@
<xs:attributeGroup name="common_attributes">
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="from" type="xs:string" />
<xs:attribute name="depends" type="xs:string" />
</xs:attributeGroup>


Expand Down Expand Up @@ -198,9 +199,9 @@
<xs:enumeration value="extraexpanded" />
<xs:enumeration value="9" />
<xs:enumeration value="ultraexpanded" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="weight" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
Expand Down Expand Up @@ -297,22 +298,22 @@
</xs:complexType>
</xs:element>
<xs:element name="cutdown" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="true" />
<xs:enumeration value="false" />
<xs:enumeration value="1" />
<xs:enumeration value="0" />
<xs:enumeration value="yes" />
<xs:enumeration value="no" />
<xs:enumeration value="left" />
<xs:enumeration value="right" />
<xs:enumeration value="center" />
<xs:enumeration value="centre" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="extraleading" type="xs:integer" minOccurs="0" maxOccurs="1" />
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="true" />
<xs:enumeration value="false" />
<xs:enumeration value="1" />
<xs:enumeration value="0" />
<xs:enumeration value="yes" />
<xs:enumeration value="no" />
<xs:enumeration value="left" />
<xs:enumeration value="right" />
<xs:enumeration value="center" />
<xs:enumeration value="centre" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="extraleading" type="xs:integer" minOccurs="0" maxOccurs="1" />
<xs:element name="multiline" type="boolean" minOccurs="0" maxOccurs="1" />
<xs:element name="align" type="align" minOccurs="0" maxOccurs="1" />
<xs:element name="colorcycle" minOccurs="0" maxOccurs="1">
Expand Down Expand Up @@ -586,7 +587,7 @@
<xs:element name="showarrow" type="boolean" minOccurs="0" maxOccurs="1" />
<xs:element name="buttonarea" type="area" minOccurs="0" maxOccurs="1" />
<xs:element name="drawfrombottom" type="boolean" minOccurs="0" maxOccurs="1" />
<xs:element name="searchposition" type="position" minOccurs="0" maxOccurs="1" />
<xs:element name="searchposition" type="position" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:group>

Expand Down Expand Up @@ -621,7 +622,6 @@
<xs:complexType name="textedit">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:group ref="widget_common" />

<xs:group ref="widgets" />
</xs:choice>
<xs:attributeGroup ref="common_attributes" />
Expand All @@ -632,10 +632,10 @@
<!-- Checkbox Widget -->
<xs:element name="checkbox">
<xs:complexType>
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:group ref="widget_common" />
<xs:group ref="widgets" />
</xs:sequence>
</xs:choice>
<xs:attributeGroup ref="common_attributes" />
</xs:complexType>
</xs:element>
Expand Down

0 comments on commit 99abdfe

Please sign in to comment.