LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / schema / mathml2 / presentation / common-attribs.xsd
blob3e9432c7b1edf221b513b11d57da92df65bdc38b
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 schema module defines sets of attributes common to several elements
13 of presentation MathML.
14 Author: St&#233;phane Dalmas, INRIA.
15 </xs:documentation>
16 </xs:annotation>
18 <!-- The mathematics style attributes. These attributes are valid on all
19 presentation token elements except "mspace" and "mglyph", and on no
20 other elements except "mstyle". -->
22 <xs:attributeGroup name="Token-style.attrib">
23 <xs:attribute name="mathvariant">
24 <xs:simpleType>
25 <xs:restriction base="xs:string">
26 <xs:enumeration value="normal"/>
27 <xs:enumeration value="bold"/>
28 <xs:enumeration value="italic"/>
29 <xs:enumeration value="bold-italic"/>
30 <xs:enumeration value="double-struck"/>
31 <xs:enumeration value="bold-fraktur"/>
32 <xs:enumeration value="script"/>
33 <xs:enumeration value="bold-script"/>
34 <xs:enumeration value="fraktur"/>
35 <xs:enumeration value="sans-serif"/>
36 <xs:enumeration value="bold-sans-serif"/>
37 <xs:enumeration value="sans-serif-italic"/>
38 <xs:enumeration value="sans-serif-bold-italic"/>
39 <xs:enumeration value="monospace"/>
40 </xs:restriction>
41 </xs:simpleType>
42 </xs:attribute>
43 <xs:attribute name="mathsize">
44 <xs:simpleType>
45 <xs:union memberTypes="simple-size length-with-unit"/>
46 </xs:simpleType>
47 </xs:attribute>
48 <!-- For both of the following attributes the types should be
49 more restricted -->
50 <xs:attribute name="mathcolor" type="xs:string"/>
51 <xs:attribute name="mathbackground" type="xs:string"/>
52 </xs:attributeGroup>
54 <!-- These operators are all related to operators. They are valid on "mo"
55 and "mstyle". -->
57 <xs:attributeGroup name="Operator.attrib">
58 <!-- this attribute value is normally inferred from the position of
59 the operator in its "<mrow"> -->
60 <xs:attribute name="form">
61 <xs:simpleType>
62 <xs:restriction base="xs:string">
63 <xs:enumeration value="prefix"/>
64 <xs:enumeration value="infix"/>
65 <xs:enumeration value="postfix"/>
66 </xs:restriction>
67 </xs:simpleType>
68 </xs:attribute>
69 <!-- set by dictionary, else it is "thickmathspace" -->
70 <xs:attribute name="lspace">
71 <xs:simpleType>
72 <xs:union memberTypes="length-with-unit named-space"/>
73 </xs:simpleType>
74 </xs:attribute>
75 <!-- set by dictionary, else it is "thickmathspace" -->
76 <xs:attribute name="rspace">
77 <xs:simpleType>
78 <xs:union memberTypes="length-with-unit named-space"/>
79 </xs:simpleType>
80 </xs:attribute>
81 <!-- set by dictionary, else it is "false" -->
82 <xs:attribute name="fence" type="xs:boolean"/>
83 <!-- set by dictionary, else it is "false" -->
84 <xs:attribute name="separator" type="xs:boolean"/>
85 <!-- set by dictionary, else it is "false" -->
86 <xs:attribute name="stretchy" type="xs:boolean"/>
87 <!-- set by dictionary, else it is "true" -->
88 <xs:attribute name="symmetric" type="xs:boolean"/>
89 <!-- set by dictionary, else it is "false" -->
90 <xs:attribute name="movablelimits" type="xs:boolean"/>
91 <!-- set by dictionary, else it is "false" -->
92 <xs:attribute name="accent" type="xs:boolean"/>
93 <!-- set by dictionary, else it is "false" -->
94 <xs:attribute name="largeop" type="xs:boolean"/>
95 <xs:attribute name="minsize">
96 <xs:simpleType>
97 <xs:union memberTypes="length-with-unit named-space"/>
98 </xs:simpleType>
99 </xs:attribute>
100 <xs:attribute name="maxsize">
101 <xs:simpleType>
102 <xs:union memberTypes="length-with-unit named-space infinity xs:float"/>
103 </xs:simpleType>
104 </xs:attribute>
105 </xs:attributeGroup>
107 </xs:schema>
108 <!--
109 Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
110 of Technology, Institut National de Recherche en Informatique et en
111 Automatique, Keio University). All Rights Reserved. See
112 http://www.w3.org/Consortium/Legal/.