LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / schema / mathml2 / presentation / common-types.xsd
bloba44c3bfc8cb5844d17ed2dd734c2718b5781d944
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 containing some type definitions for MathML.
13 Author: St&#233;phane Dalmas, INRIA.
14 </xs:documentation>
15 </xs:annotation>
17 <!-- Simple sizes -->
19 <xs:simpleType name="simple-size">
20 <xs:restriction base="xs:string">
21 <xs:enumeration value="small"/>
22 <xs:enumeration value="normal"/>
23 <xs:enumeration value="big"/>
24 </xs:restriction>
25 </xs:simpleType>
27 <!-- Centering values -->
29 <xs:simpleType name="centering">
30 <xs:restriction base="xs:string">
31 <xs:enumeration value="left"/>
32 <xs:enumeration value="center"/>
33 <xs:enumeration value="right"/>
34 </xs:restriction>
35 </xs:simpleType>
37 <!-- The named spaces -->
39 <!-- this is also used in the value of the "width" attribute on the
40 "mpadded" element -->
41 <xs:simpleType name="named-space">
42 <xs:restriction base="xs:string">
43 <xs:enumeration value="veryverythinmathspace"/>
44 <xs:enumeration value="verythinmathspace"/>
45 <xs:enumeration value="thinmathspace"/>
46 <xs:enumeration value="mediummathspace"/>
47 <xs:enumeration value="thickmathspace"/>
48 <xs:enumeration value="verythickmathspace"/>
49 <xs:enumeration value="veryverythickmathspace"/>
50 </xs:restriction>
51 </xs:simpleType>
53 <!-- Thickness -->
55 <xs:simpleType name="thickness">
56 <xs:restriction base="xs:string">
57 <xs:enumeration value="thin"/>
58 <xs:enumeration value="medium"/>
59 <xs:enumeration value="thick"/>
60 </xs:restriction>
61 </xs:simpleType>
64 <!-- number with units used to specified lengths -->
66 <xs:simpleType name="length-with-unit">
67 <xs:restriction base="xs:string">
68 <xs:pattern
69 value="(-?([0-9]+|[0-9]*\.[0-9]+)*(em|ex|px|in|cm|mm|pt|pc|%))|0"/>
70 </xs:restriction>
71 </xs:simpleType>
73 <xs:simpleType name="length-with-optional-unit">
74 <xs:restriction base="xs:string">
75 <xs:pattern
76 value="-?([0-9]+|[0-9]*\.[0-9]+)*(em|ex|px|in|cm|mm|pt|pc|%)?"/>
77 </xs:restriction>
78 </xs:simpleType>
80 <!-- This is just "infinity" that can be used as a length -->
82 <xs:simpleType name="infinity">
83 <xs:restriction base="xs:string">
84 <xs:enumeration value="infinity"/>
85 </xs:restriction>
86 </xs:simpleType>
88 <!-- colors defined as RGB -->
90 <xs:simpleType name="RGB-color">
91 <xs:restriction base="xs:string">
92 <xs:pattern value="#(([0-9]|[a-f]){3}|([0-9]|[a-f]){6})"/>
93 </xs:restriction>
94 </xs:simpleType>
96 </xs:schema>
98 <!--
99 Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
100 of Technology, Institut National de Recherche en Informatique et en
101 Automatique, Keio University). All Rights Reserved. See
102 http://www.w3.org/Consortium/Legal/.