1+ <?xml  version =" 1.0"  encoding =" UTF-8"  ?>
2+ <xs : schema  xmlns : xs =" http://www.w3.org/2001/XMLSchema" 
3+            xmlns : m =" http://www.w3.org/1998/Math/MathML" 
4+            elementFormDefault =" qualified" 
5+            targetNamespace =" http://www.w3.org/1998/Math/MathML"  >
6+    <xs : element  name =" math"  >
7+       <xs : complexType >
8+          <xs : group  minOccurs =" 0"   maxOccurs =" unbounded"   ref =" m:MathExpression"  />
9+          <xs : attributeGroup  ref =" m:math.attributes"  />
10+       </xs : complexType >
11+    </xs : element >
12+    <xs : attributeGroup  name =" CommonDeprecatedAtt"  >
13+       <xs : attribute  name =" other"  />
14+    </xs : attributeGroup >
15+    <xs : attributeGroup  name =" CommonAtt"  >
16+       <xs : attribute  name =" id"   type =" xs:ID"  />
17+       <xs : attribute  name =" xref"  />
18+       <xs : attribute  name =" class"   type =" xs:NMTOKENS"  />
19+       <xs : attribute  name =" style"   type =" xs:string"  />
20+       <xs : attribute  name =" href"   type =" xs:anyURI"  />
21+       <xs : attributeGroup  ref =" m:CommonDeprecatedAtt"  />
22+       <xs : anyAttribute  namespace =" ##other"   processContents =" skip"  />
23+    </xs : attributeGroup >
24+    <xs : attributeGroup  name =" math.deprecatedattributes"  >
25+       <xs : attribute  name =" mode"   type =" xs:string"  />
26+       <xs : attribute  name =" macros"   type =" xs:string"  />
27+    </xs : attributeGroup >
28+    <xs : attributeGroup  name =" name"  >
29+       <xs : attribute  name =" name"   use =" required"   type =" xs:NCName"  />
30+    </xs : attributeGroup >
31+    <xs : attributeGroup  name =" cd"  >
32+       <xs : attribute  name =" cd"   use =" required"   type =" xs:NCName"  />
33+    </xs : attributeGroup >
34+    <xs : attributeGroup  name =" src"  >
35+       <xs : attribute  name =" src"   type =" xs:anyURI"  />
36+    </xs : attributeGroup >
37+    <xs : element  name =" annotation"  >
38+       <xs : complexType  mixed =" true"  >
39+          <xs : attributeGroup  ref =" m:annotation.attributes"  />
40+       </xs : complexType >
41+    </xs : element >
42+    <xs : complexType  name =" annotation-xml.model"  ><!-- content model altered for libxml (annotation-xml)-->  <xs : sequence >
43+          <xs : any  processContents =" lax"  />
44+       </xs : sequence >
45+    </xs : complexType >
46+    <xs : group  name =" anyElement"  >
47+       <xs : choice >
48+          <xs : any  namespace =" ##other"   processContents =" skip"  />
49+          <xs : any  namespace =" ##local"   processContents =" skip"  />
50+       </xs : choice >
51+    </xs : group >
52+    <xs : element  name =" annotation-xml"  >
53+       <xs : complexType >
54+          <xs : complexContent >
55+             <xs : extension  base =" m:annotation-xml.model"  >
56+                <xs : attributeGroup  ref =" m:annotation.attributes"  />
57+             </xs : extension >
58+          </xs : complexContent >
59+       </xs : complexType >
60+    </xs : element >
61+    <xs : attributeGroup  name =" annotation.attributes"  >
62+       <xs : attributeGroup  ref =" m:CommonAtt"  />
63+       <xs : attribute  name =" cd"   type =" xs:NCName"  />
64+       <xs : attribute  name =" name"   type =" xs:NCName"  />
65+       <xs : attributeGroup  ref =" m:DefEncAtt"  />
66+       <xs : attributeGroup  ref =" m:src"  />
67+    </xs : attributeGroup >
68+    <xs : attributeGroup  name =" DefEncAtt"  >
69+       <xs : attribute  name =" encoding"   type =" xs:string"  />
70+       <xs : attribute  name =" definitionURL"   type =" xs:anyURI"  />
71+    </xs : attributeGroup >
72+    <xs : group  name =" semantics"  >
73+       <xs : sequence >
74+          <xs : element  name =" semantics"  >
75+             <xs : complexType >
76+                <xs : sequence >
77+                   <xs : group  ref =" m:MathExpression"  />
78+                   <xs : choice  minOccurs =" 0"   maxOccurs =" unbounded"  >
79+                      <xs : element  ref =" m:annotation"  />
80+                      <xs : element  ref =" m:annotation-xml"  />
81+                   </xs : choice >
82+                </xs : sequence >
83+                <xs : attributeGroup  ref =" m:semantics.attributes"  />
84+             </xs : complexType >
85+          </xs : element >
86+       </xs : sequence >
87+    </xs : group >
88+    <xs : attributeGroup  name =" semantics.attributes"  >
89+       <xs : attributeGroup  ref =" m:CommonAtt"  />
90+       <xs : attributeGroup  ref =" m:DefEncAtt"  />
91+       <xs : attribute  name =" cd"   type =" xs:NCName"  />
92+       <xs : attribute  name =" name"   type =" xs:NCName"  />
93+    </xs : attributeGroup >
94+    <xs : simpleType  name =" length"  >
95+       <xs : restriction  base =" xs:string"  >
96+          <xs : pattern  value =" \s*((-?[0-9]*([0-9]\.?|\.[0-9])[0-9]*(e[mx]|in|cm|mm|p[xtc]|%)?)|(negative)?((very){0,2}thi(n|ck)|medium)mathspace)\s*"  />
97+       </xs : restriction >
98+    </xs : simpleType >
99+ </xs : schema >
0 commit comments