Avoid a warning shown since bumping Windows baseline
[LibreOffice.git] / schema / mathml2 / presentation / scripts.xsd
blobcf7eea1543f98f6ca2f1cfc4709a604606c8b061
1 <?xml version="1.0" encoding="UTF-8"?>
3 <xs:schema
4 xmlns:xs="http://www.w3.org/2001/XMLSchema"
5 xmlns="http://www.w3.org/1998/Math/MathML"
6 targetNamespace="http://www.w3.org/1998/Math/MathML"
7 elementFormDefault="qualified"
10 <xs:annotation>
11 <xs:documentation>
12 This is an XML Schema module for the presentation elements of MathML
13 dealing with subscripts and superscripts.
14 Author: St&#233;phane Dalmas, INRIA.
15 </xs:documentation>
16 </xs:annotation>
18 <!-- "msub" -->
20 <xs:attributeGroup name="msub.attlist">
21 <xs:attribute name="subscriptshift" type="length-with-unit"/>
22 <xs:attributeGroup ref="Common.attrib"/>
23 </xs:attributeGroup>
25 <xs:complexType name="msub.type">
26 <xs:group ref="Presentation-expr.class" minOccurs="2" maxOccurs="2"/>
27 <xs:attributeGroup ref="msub.attlist"/>
28 </xs:complexType>
30 <xs:element name="msub" type="msub.type"/>
32 <!-- "msup" -->
34 <xs:attributeGroup name="msup.attlist">
35 <xs:attribute name="superscriptshift" type="length-with-unit"/>
36 <xs:attributeGroup ref="Common.attrib"/>
37 </xs:attributeGroup>
39 <xs:complexType name="msup.type">
40 <xs:group ref="Presentation-expr.class" minOccurs="2" maxOccurs="2"/>
41 <xs:attributeGroup ref="msup.attlist"/>
42 </xs:complexType>
44 <xs:element name="msup" type="msup.type"/>
46 <!-- "msubsup" -->
48 <xs:attributeGroup name="msubsup.attlist">
49 <xs:attribute name="subscriptshift" type="length-with-unit"/>
50 <xs:attribute name="superscriptshift" type="length-with-unit"/>
51 <xs:attributeGroup ref="Common.attrib"/>
52 </xs:attributeGroup>
54 <xs:complexType name="msubsup.type">
55 <xs:group ref="Presentation-expr.class" minOccurs="3" maxOccurs="3"/>
56 <xs:attributeGroup ref="msubsup.attlist"/>
57 </xs:complexType>
59 <xs:element name="msubsup" type="msubsup.type"/>
61 <!-- "munder" -->
63 <xs:attributeGroup name="munder.attlist">
64 <xs:attribute name="accentunder" type="xs:boolean"/>
65 <xs:attributeGroup ref="Common.attrib"/>
66 </xs:attributeGroup>
68 <xs:complexType name="munder.type">
69 <xs:group ref="Presentation-expr.class" minOccurs="2" maxOccurs="2"/>
70 <xs:attributeGroup ref="munder.attlist"/>
71 </xs:complexType>
73 <xs:element name="munder" type="munder.type"/>
75 <!-- "mover" -->
77 <xs:attributeGroup name="mover.attlist">
78 <xs:attribute name="accent" type="xs:boolean"/>
79 <xs:attributeGroup ref="Common.attrib"/>
80 </xs:attributeGroup>
82 <xs:complexType name="mover.type">
83 <xs:group ref="Presentation-expr.class" minOccurs="2" maxOccurs="2"/>
84 <xs:attributeGroup ref="mover.attlist"/>
85 </xs:complexType>
87 <xs:element name="mover" type="mover.type"/>
89 <!-- "munderover" -->
91 <xs:attributeGroup name="munderover.attlist">
92 <xs:attribute name="accent" type="xs:boolean"/>
93 <xs:attribute name="accentunder" type="xs:boolean"/>
94 <xs:attributeGroup ref="Common.attrib"/>
95 </xs:attributeGroup>
97 <xs:complexType name="munderover.type">
98 <xs:group ref="Presentation-expr.class" minOccurs="3" maxOccurs="3"/>
99 <xs:attributeGroup ref="munderover.attlist"/>
100 </xs:complexType>
102 <xs:element name="munderover" type="munderover.type"/>
104 <!-- "mmultiscripts", "mprescripts" and "none" -->
106 <xs:attributeGroup name="mmultiscripts.attlist">
107 <xs:attributeGroup ref="Common.attrib"/>
108 </xs:attributeGroup>
110 <xs:group name="Presentation-expr-or-none.class">
111 <xs:choice>
112 <xs:group ref="Presentation-expr.class"/>
113 <xs:element ref="none"/>
114 </xs:choice>
115 </xs:group>
117 <!-- not used
118 <xs:group name="mprescripts.group">
119 <xs:sequence>
120 <xs:element ref="mprescripts"/>
121 <xs:choice minOccurs="0" maxOccurs="unbounded">
122 <xs:group ref="Presentation-expr.class"/>
123 <xs:element ref="none"/>
124 </xs:choice>
125 </xs:sequence>
126 </xs:group>
129 <xs:group name="mmultiscripts.content">
130 <xs:sequence>
131 <xs:group ref="Presentation-expr.class"/>
132 <xs:sequence minOccurs="0" maxOccurs="unbounded">
133 <xs:group ref="Presentation-expr-or-none.class"/>
134 <xs:group ref="Presentation-expr-or-none.class"/>
135 </xs:sequence>
136 <xs:sequence minOccurs="0">
137 <xs:element ref="mprescripts"/>
138 <xs:sequence maxOccurs="unbounded">
139 <xs:group ref="Presentation-expr-or-none.class"/>
140 <xs:group ref="Presentation-expr-or-none.class"/>
141 </xs:sequence>
142 </xs:sequence>
143 </xs:sequence>
144 </xs:group>
146 <xs:complexType name="mmultiscripts.type">
147 <xs:group ref="mmultiscripts.content"/>
148 <xs:attributeGroup ref="mmultiscripts.attlist"/>
149 </xs:complexType>
151 <xs:element name="mmultiscripts" type="mmultiscripts.type"/>
153 <!-- Nothing... -->
154 <xs:complexType name="none.type">
155 </xs:complexType>
157 <xs:element name="none" type="none.type"/>
159 <!-- also void -->
160 <xs:complexType name="mprescripts.type">
161 </xs:complexType>
163 <xs:element name="mprescripts" type="mprescripts.type"/>
165 <!-- And the group of everything -->
167 <xs:group name="Presentation-script.class">
168 <xs:choice>
169 <xs:element ref="msub"/>
170 <xs:element ref="msup"/>
171 <xs:element ref="msubsup"/>
172 <xs:element ref="munder"/>
173 <xs:element ref="mover"/>
174 <xs:element ref="munderover"/>
175 <xs:element ref="mmultiscripts"/>
176 </xs:choice>
177 </xs:group>
179 </xs:schema>
181 <!--
182 Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
183 of Technology, Institut National de Recherche en Informatique et en
184 Automatique, Keio University). All Rights Reserved. See
185 http://www.w3.org/Consortium/Legal/.