calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / schema / mathml2 / content / tokens.xsd
blob7e7f9b81d4dc3db109b7ba015acec20e97f383a0
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 the XML schema module for the token elements of the
13 content part of MathML.
14 Author: St&#233;phane Dalmas, INRIA.
15 </xs:documentation>
16 </xs:annotation>
18 <!-- common content for the token elements -->
20 <xs:group name="Content-token.content">
21 <xs:sequence>
22 <xs:group ref="Presentation-expr.class"/>
23 </xs:sequence>
24 </xs:group>
26 <!-- "cn" -->
28 <xs:attributeGroup name="cn.attlist">
29 <xs:attribute name="base">
30 <xs:simpleType>
31 <xs:restriction base="xs:positiveInteger">
32 <xs:minInclusive value="2"/>
33 <xs:maxInclusive value="36"/>
34 </xs:restriction>
35 </xs:simpleType>
36 </xs:attribute>
37 <xs:attribute name="type">
38 <xs:simpleType>
39 <xs:restriction base="xs:NMTOKEN">
40 <xs:enumeration value="e-notation"/>
41 <xs:enumeration value="integer"/>
42 <xs:enumeration value="rational"/>
43 <xs:enumeration value="real"/>
44 <xs:enumeration value="complex-cartesian"/>
45 <xs:enumeration value="complex-polar"/>
46 <xs:enumeration value="constant"/>
47 </xs:restriction>
48 </xs:simpleType>
49 </xs:attribute>
50 <xs:attributeGroup ref="Definition.attrib"/>
51 <xs:attributeGroup ref="Common.attrib"/>
52 </xs:attributeGroup>
54 <!-- the content of "cn" may have <sep> elements in it -->
56 <xs:complexType name="sep.type">
57 </xs:complexType>
59 <xs:element name="sep" type="sep.type"/>
61 <xs:group name="cn.content">
62 <xs:choice>
63 <xs:group ref="Presentation-expr.class"/>
64 <xs:element ref="sep"/>
65 </xs:choice>
66 </xs:group>
68 <xs:complexType name="cn.type" mixed="true">
69 <xs:group ref="cn.content" minOccurs="0" maxOccurs="unbounded"/>
70 <xs:attributeGroup ref="cn.attlist"/>
71 </xs:complexType>
73 <xs:element name="cn" type="cn.type"/>
75 <!-- "ci" -->
77 <xs:attributeGroup name="ci.attlist">
78 <xs:attribute name="type" type="xs:string"/>
79 <xs:attributeGroup ref="Definition.attrib"/>
80 <xs:attributeGroup ref="Common.attrib"/>
81 </xs:attributeGroup>
83 <xs:complexType name="ci.type" mixed="true">
84 <xs:group ref="Content-token.content" minOccurs="0"/>
85 <xs:attributeGroup ref="ci.attlist"/>
86 </xs:complexType>
88 <xs:element name="ci" type="ci.type"/>
90 <!-- "csymbol" -->
92 <xs:attributeGroup name="csymbol.attlist">
93 <xs:attributeGroup ref="Definition.attrib"/>
94 <xs:attributeGroup ref="Common.attrib"/>
95 </xs:attributeGroup>
97 <xs:complexType name="csymbol.type" mixed="true">
98 <xs:group ref="Content-token.content" minOccurs="0"/>
99 <xs:attributeGroup ref="csymbol.attlist"/>
100 </xs:complexType>
102 <xs:element name="csymbol" type="csymbol.type"/>
104 <!-- And the group of everything -->
106 <xs:group name="Content-tokens.class">
107 <xs:choice>
108 <xs:element ref="cn"/>
109 <xs:element ref="ci"/>
110 <xs:element ref="csymbol"/>
111 </xs:choice>
112 </xs:group>
114 </xs:schema>
115 <!--
116 Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
117 of Technology, Institut National de Recherche en Informatique et en
118 Automatique, Keio University). All Rights Reserved. See
119 http://www.w3.org/Consortium/Legal/.