cirneco 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/cirneco/utils.rb +14 -2
- data/lib/cirneco/version.rb +1 -1
- data/resources/jats-1.1/JATS-journalpublishing1-elements.xsd +8608 -0
- data/resources/jats-1.1/JATS-journalpublishing1-mathml3-elements.xsd +8608 -0
- data/resources/jats-1.1/JATS-journalpublishing1-mathml3.xsd +48 -0
- data/resources/jats-1.1/JATS-journalpublishing1.xsd +59 -0
- data/resources/jats-1.1/module-ali.xsd +46 -0
- data/resources/jats-1.1/standard-modules/mathml2/common/common-attribs.xsd +44 -0
- data/resources/jats-1.1/standard-modules/mathml2/common/math.xsd +126 -0
- data/resources/jats-1.1/standard-modules/mathml2/common/xlink-href.xsd +20 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/arith.xsd +90 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/calculus.xsd +146 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/common-attrib.xsd +30 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/constants.xsd +83 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/constructs.xsd +260 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/elementary-functions.xsd +117 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/functions.xsd +73 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/linear-algebra.xsd +173 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/logic.xsd +53 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/relations.xsd +55 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/semantics.xsd +85 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/sets.xsd +236 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/statistics.xsd +136 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/tokens.xsd +120 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/vector-calculus.xsd +88 -0
- data/resources/jats-1.1/standard-modules/mathml2/content/zzz.tokens.xsd.from.zip +120 -0
- data/resources/jats-1.1/standard-modules/mathml2/mathml2.xsd +59 -0
- data/resources/jats-1.1/standard-modules/mathml2/presentation/action.xsd +44 -0
- data/resources/jats-1.1/standard-modules/mathml2/presentation/characters.xsd +37 -0
- data/resources/jats-1.1/standard-modules/mathml2/presentation/common-attribs.xsd +113 -0
- data/resources/jats-1.1/standard-modules/mathml2/presentation/common-types.xsd +103 -0
- data/resources/jats-1.1/standard-modules/mathml2/presentation/error.xsd +40 -0
- data/resources/jats-1.1/standard-modules/mathml2/presentation/layout.xsd +195 -0
- data/resources/jats-1.1/standard-modules/mathml2/presentation/scripts.xsd +186 -0
- data/resources/jats-1.1/standard-modules/mathml2/presentation/space.xsd +52 -0
- data/resources/jats-1.1/standard-modules/mathml2/presentation/style.xsd +69 -0
- data/resources/jats-1.1/standard-modules/mathml2/presentation/table.xsd +216 -0
- data/resources/jats-1.1/standard-modules/mathml2/presentation/tokens.xsd +124 -0
- data/resources/jats-1.1/standard-modules/xlink.xsd +100 -0
- data/resources/jats-1.1/standard-modules/xml.xsd +287 -0
- data/spec/utils_spec.rb +7 -0
- metadata +39 -1
@@ -0,0 +1,52 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
|
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"
|
8
|
+
>
|
9
|
+
|
10
|
+
<xs:annotation>
|
11
|
+
<xs:documentation>
|
12
|
+
This is the XML Schema module for the MathML "mspace" element.
|
13
|
+
Author: Stéphane Dalmas, INRIA.
|
14
|
+
</xs:documentation>
|
15
|
+
</xs:annotation>
|
16
|
+
|
17
|
+
<xs:attributeGroup name="mspace.attlist">
|
18
|
+
<xs:attribute name="width" default="0em">
|
19
|
+
<xs:simpleType>
|
20
|
+
<xs:union memberTypes="length-with-unit named-space"/>
|
21
|
+
</xs:simpleType>
|
22
|
+
</xs:attribute>
|
23
|
+
<xs:attribute name="height" type="length-with-unit" default="0ex"/>
|
24
|
+
<xs:attribute name="depth" type="length-with-unit" default="0ex"/>
|
25
|
+
<xs:attribute name="linebreak" default="auto">
|
26
|
+
<xs:simpleType>
|
27
|
+
<xs:restriction base="xs:string">
|
28
|
+
<xs:enumeration value="auto"/>
|
29
|
+
<xs:enumeration value="newline"/>
|
30
|
+
<xs:enumeration value="indentingnewline"/>
|
31
|
+
<xs:enumeration value="nobreak"/>
|
32
|
+
<xs:enumeration value="goodbreak"/>
|
33
|
+
<xs:enumeration value="badbreak"/>
|
34
|
+
</xs:restriction>
|
35
|
+
</xs:simpleType>
|
36
|
+
</xs:attribute>
|
37
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
38
|
+
</xs:attributeGroup>
|
39
|
+
|
40
|
+
<xs:complexType name="mspace.type">
|
41
|
+
<xs:attributeGroup ref="mspace.attlist"/>
|
42
|
+
</xs:complexType>
|
43
|
+
|
44
|
+
<xs:element name="mspace" type="mspace.type"/>
|
45
|
+
|
46
|
+
</xs:schema>
|
47
|
+
<!--
|
48
|
+
Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
|
49
|
+
of Technology, Institut National de Recherche en Informatique et en
|
50
|
+
Automatique, Keio University). All Rights Reserved. See
|
51
|
+
http://www.w3.org/Consortium/Legal/.
|
52
|
+
-->
|
@@ -0,0 +1,69 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
|
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"
|
8
|
+
>
|
9
|
+
|
10
|
+
<xs:annotation>
|
11
|
+
<xs:documentation>
|
12
|
+
This is an XML Schema for the "mstyle" element of MathML.
|
13
|
+
Author: Stéphane Dalmas, INRIA.
|
14
|
+
</xs:documentation>
|
15
|
+
</xs:annotation>
|
16
|
+
|
17
|
+
<!-- "mstyle" -->
|
18
|
+
|
19
|
+
<xs:attributeGroup name="mstyle.attlist">
|
20
|
+
<xs:attribute name="scriptlevel" type="xs:integer"/>
|
21
|
+
<xs:attribute name="displaystyle" type="xs:boolean"/>
|
22
|
+
<xs:attribute name="scriptsizemultiplier" type="xs:decimal" default="0.71"/>
|
23
|
+
<xs:attribute name="scriptminsize" type="length-with-unit" default="8pt"/>
|
24
|
+
<xs:attribute name="color" type="xs:string"/>
|
25
|
+
<xs:attribute name="background" type="xs:string" default="transparent"/>
|
26
|
+
<xs:attribute name="veryverythinmathspace" type="length-with-unit"
|
27
|
+
default="0.0555556em"/>
|
28
|
+
<xs:attribute name="verythinmathspace" type="length-with-unit"
|
29
|
+
default="0.111111em"/>
|
30
|
+
<xs:attribute name="thinmathspace" type="length-with-unit"
|
31
|
+
default="0.166667em"/>
|
32
|
+
<xs:attribute name="mediummathspace" type="length-with-unit"
|
33
|
+
default="0.222222em"/>
|
34
|
+
<xs:attribute name="thickmathspace" type="length-with-unit"
|
35
|
+
default="0.277778em"/>
|
36
|
+
<xs:attribute name="verythickmathspace" type="length-with-unit"
|
37
|
+
default="0.333333em"/>
|
38
|
+
<xs:attribute name="veryverythickmathspace" type="length-with-unit"
|
39
|
+
default="0.388889em"/>
|
40
|
+
<xs:attribute name="linethickness" default="1">
|
41
|
+
<xs:simpleType>
|
42
|
+
<xs:union memberTypes="length-with-optional-unit thickness"/>
|
43
|
+
</xs:simpleType>
|
44
|
+
</xs:attribute>
|
45
|
+
<xs:attributeGroup ref="Operator.attrib"/>
|
46
|
+
<xs:attributeGroup ref="Token-style.attrib"/>
|
47
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
48
|
+
</xs:attributeGroup>
|
49
|
+
|
50
|
+
<xs:group name="mstyle.content">
|
51
|
+
<xs:sequence>
|
52
|
+
<xs:group ref="Presentation-expr.class"/>
|
53
|
+
</xs:sequence>
|
54
|
+
</xs:group>
|
55
|
+
|
56
|
+
<xs:complexType name="mstyle.type">
|
57
|
+
<xs:group ref="mstyle.content" minOccurs="1" maxOccurs="unbounded"/>
|
58
|
+
<xs:attributeGroup ref="mstyle.attlist"/>
|
59
|
+
</xs:complexType>
|
60
|
+
|
61
|
+
<xs:element name="mstyle" type="mstyle.type"/>
|
62
|
+
|
63
|
+
</xs:schema>
|
64
|
+
<!--
|
65
|
+
Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
|
66
|
+
of Technology, Institut National de Recherche en Informatique et en
|
67
|
+
Automatique, Keio University). All Rights Reserved. See
|
68
|
+
http://www.w3.org/Consortium/Legal/.
|
69
|
+
-->
|
@@ -0,0 +1,216 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
|
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"
|
8
|
+
>
|
9
|
+
|
10
|
+
<xs:annotation>
|
11
|
+
<xs:documentation>
|
12
|
+
This is an XML Schema module for tables in MathML presentation.
|
13
|
+
Author: Stéphane Dalmas, INRIA.
|
14
|
+
</xs:documentation>
|
15
|
+
</xs:annotation>
|
16
|
+
|
17
|
+
<!-- Common attributes -->
|
18
|
+
|
19
|
+
<xs:attributeGroup name="Table-alignment.attrib">
|
20
|
+
<xs:attribute name="rowalign" default="baseline">
|
21
|
+
<xs:simpleType>
|
22
|
+
<xs:restriction base="xs:string">
|
23
|
+
<xs:pattern value="(top|bottom|center|baseline|axis)( top| bottom| center| baseline| axis)*"/>
|
24
|
+
</xs:restriction>
|
25
|
+
</xs:simpleType>
|
26
|
+
</xs:attribute>
|
27
|
+
<xs:attribute name="columnalign" default="center">
|
28
|
+
<xs:simpleType>
|
29
|
+
<xs:restriction base="xs:string">
|
30
|
+
<xs:pattern value="(left|center|right)( left| center| right)*"/>
|
31
|
+
</xs:restriction>
|
32
|
+
</xs:simpleType>
|
33
|
+
</xs:attribute>
|
34
|
+
<xs:attribute name="groupalign" type="xs:string"/>
|
35
|
+
</xs:attributeGroup>
|
36
|
+
|
37
|
+
<!-- "mtr" -->
|
38
|
+
|
39
|
+
<xs:attributeGroup name="mtr.attlist">
|
40
|
+
<xs:attributeGroup ref="Table-alignment.attrib"/>
|
41
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
42
|
+
</xs:attributeGroup>
|
43
|
+
|
44
|
+
<xs:group name="mtr.content">
|
45
|
+
<xs:sequence>
|
46
|
+
<xs:element ref="mtd"/>
|
47
|
+
</xs:sequence>
|
48
|
+
</xs:group>
|
49
|
+
|
50
|
+
<xs:complexType name="mtr.type">
|
51
|
+
<xs:group ref="mtr.content" minOccurs="1" maxOccurs="unbounded"/>
|
52
|
+
<xs:attributeGroup ref="mtr.attlist"/>
|
53
|
+
</xs:complexType>
|
54
|
+
|
55
|
+
<xs:element name="mtr" type="mtr.type"/>
|
56
|
+
|
57
|
+
<!-- "labeledtr" -->
|
58
|
+
|
59
|
+
<xs:attributeGroup name="mlabeledtr.attlist">
|
60
|
+
<xs:attributeGroup ref="Table-alignment.attrib"/>
|
61
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
62
|
+
</xs:attributeGroup>
|
63
|
+
|
64
|
+
<xs:group name="mlabeledtr.content">
|
65
|
+
<xs:sequence>
|
66
|
+
<xs:element ref="mtd"/>
|
67
|
+
</xs:sequence>
|
68
|
+
</xs:group>
|
69
|
+
|
70
|
+
<xs:complexType name="mlabeledtr.type">
|
71
|
+
<xs:group ref="mlabeledtr.content" minOccurs="1" maxOccurs="unbounded"/>
|
72
|
+
<xs:attributeGroup ref="mlabeledtr.attlist"/>
|
73
|
+
</xs:complexType>
|
74
|
+
|
75
|
+
<xs:element name="mlabeledtr" type="mlabeledtr.type"/>
|
76
|
+
|
77
|
+
<!-- "mtd" -->
|
78
|
+
|
79
|
+
<xs:attributeGroup name="mtd.attlist">
|
80
|
+
<xs:attributeGroup ref="Table-alignment.attrib"/>
|
81
|
+
<xs:attribute name="columnspan" type="xs:positiveInteger" default="1"/>
|
82
|
+
<xs:attribute name="rowspan" type="xs:positiveInteger" default="1"/>
|
83
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
84
|
+
</xs:attributeGroup>
|
85
|
+
|
86
|
+
<xs:group name="mtd.content">
|
87
|
+
<xs:sequence>
|
88
|
+
<xs:group ref="Presentation-expr.class" minOccurs="0" maxOccurs="1"/>
|
89
|
+
</xs:sequence>
|
90
|
+
</xs:group>
|
91
|
+
|
92
|
+
<xs:complexType name="mtd.type">
|
93
|
+
<xs:group ref="mtd.content" minOccurs="1" maxOccurs="unbounded"/>
|
94
|
+
<xs:attributeGroup ref="mtd.attlist"/>
|
95
|
+
</xs:complexType>
|
96
|
+
|
97
|
+
<xs:element name="mtd" type="mtd.type"/>
|
98
|
+
|
99
|
+
<!-- "mtable" -->
|
100
|
+
|
101
|
+
<xs:attributeGroup name="mtable.attlist">
|
102
|
+
<xs:attributeGroup ref="Table-alignment.attrib"/>
|
103
|
+
<xs:attribute name="align" type="xs:string" default="axis"/>
|
104
|
+
<xs:attribute name="alignmentscope" default="true">
|
105
|
+
<xs:simpleType>
|
106
|
+
<xs:restriction base="xs:string">
|
107
|
+
<xs:pattern value="(true|false)( true| false)*"/>
|
108
|
+
</xs:restriction>
|
109
|
+
</xs:simpleType>
|
110
|
+
</xs:attribute>
|
111
|
+
<xs:attribute name="columnwidth" type="xs:string" default="auto"/>
|
112
|
+
<xs:attribute name="width" type="xs:string" default="auto"/>
|
113
|
+
<xs:attribute name="rowspacing" type="xs:string" default="1.0ex"/>
|
114
|
+
<xs:attribute name="columnspacing" type="xs:string" default="0.8em"/>
|
115
|
+
<xs:attribute name="rowlines" type="xs:string" default="none"/>
|
116
|
+
<xs:attribute name="columnlines" type="xs:string" default="none"/>
|
117
|
+
<xs:attribute name="frame" default="none">
|
118
|
+
<xs:simpleType>
|
119
|
+
<xs:restriction base="xs:string">
|
120
|
+
<xs:enumeration value="none"/>
|
121
|
+
<xs:enumeration value="solid"/>
|
122
|
+
<xs:enumeration value="dashed"/>
|
123
|
+
</xs:restriction>
|
124
|
+
</xs:simpleType>
|
125
|
+
</xs:attribute>
|
126
|
+
<xs:attribute name="framespacing" type="xs:string" default="0.4em 0.5ex"/>
|
127
|
+
<xs:attribute name="equalrows" type="xs:boolean" default="false"/>
|
128
|
+
<xs:attribute name="equalcolumns" type="xs:boolean" default="false"/>
|
129
|
+
<xs:attribute name="displaystyle" type="xs:boolean" default="false"/>
|
130
|
+
<xs:attribute name="side" default="right">
|
131
|
+
<xs:simpleType>
|
132
|
+
<xs:restriction base="xs:string">
|
133
|
+
<xs:enumeration value="left"/>
|
134
|
+
<xs:enumeration value="right"/>
|
135
|
+
<xs:enumeration value="leftoverlap"/>
|
136
|
+
<xs:enumeration value="rightoverlap"/>
|
137
|
+
</xs:restriction>
|
138
|
+
</xs:simpleType>
|
139
|
+
</xs:attribute>
|
140
|
+
<xs:attribute name="minlabelspacing" type="length-with-unit" default="0.8em"/>
|
141
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
142
|
+
</xs:attributeGroup>
|
143
|
+
|
144
|
+
<xs:group name="mtable.content">
|
145
|
+
<xs:choice>
|
146
|
+
<xs:element ref="mtr"/>
|
147
|
+
<xs:element ref="mlabeledtr"/>
|
148
|
+
</xs:choice>
|
149
|
+
</xs:group>
|
150
|
+
|
151
|
+
<xs:complexType name="mtable.type">
|
152
|
+
<xs:group ref="mtable.content" minOccurs="1" maxOccurs="unbounded"/>
|
153
|
+
<xs:attributeGroup ref="mtable.attlist"/>
|
154
|
+
</xs:complexType>
|
155
|
+
|
156
|
+
<xs:element name="mtable" type="mtable.type"/>
|
157
|
+
|
158
|
+
<!-- "maligngroup" -->
|
159
|
+
|
160
|
+
<xs:attributeGroup name="maligngroup.attlist">
|
161
|
+
<xs:attribute name="groupalign">
|
162
|
+
<xs:simpleType>
|
163
|
+
<xs:restriction base="xs:string">
|
164
|
+
<xs:enumeration value="left"/>
|
165
|
+
<xs:enumeration value="center"/>
|
166
|
+
<xs:enumeration value="right"/>
|
167
|
+
<xs:enumeration value="decimalpoint"/>
|
168
|
+
</xs:restriction>
|
169
|
+
</xs:simpleType>
|
170
|
+
</xs:attribute>
|
171
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
172
|
+
</xs:attributeGroup>
|
173
|
+
|
174
|
+
<xs:complexType name="maligngroup.type">
|
175
|
+
<xs:attributeGroup ref="maligngroup.attlist"/>
|
176
|
+
</xs:complexType>
|
177
|
+
|
178
|
+
<xs:element name="maligngroup" type="maligngroup.type"/>
|
179
|
+
|
180
|
+
<!-- "malignmark" -->
|
181
|
+
|
182
|
+
<xs:attributeGroup name="malignmark.attlist">
|
183
|
+
<xs:attribute name="edge" default="left">
|
184
|
+
<xs:simpleType>
|
185
|
+
<xs:restriction base="xs:string">
|
186
|
+
<xs:enumeration value="left"/>
|
187
|
+
<xs:enumeration value="right"/>
|
188
|
+
</xs:restriction>
|
189
|
+
</xs:simpleType>
|
190
|
+
</xs:attribute>
|
191
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
192
|
+
</xs:attributeGroup>
|
193
|
+
|
194
|
+
<xs:complexType name="malignmark.type">
|
195
|
+
<xs:attributeGroup ref="malignmark.attlist"/>
|
196
|
+
</xs:complexType>
|
197
|
+
|
198
|
+
<xs:element name="malignmark" type="malignmark.type"/>
|
199
|
+
|
200
|
+
<!-- The group of everything -->
|
201
|
+
|
202
|
+
<xs:group name="Presentation-table.class">
|
203
|
+
<xs:choice>
|
204
|
+
<xs:element ref="mtable"/>
|
205
|
+
<xs:element ref="maligngroup"/>
|
206
|
+
<xs:element ref="malignmark"/>
|
207
|
+
</xs:choice>
|
208
|
+
</xs:group>
|
209
|
+
|
210
|
+
</xs:schema>
|
211
|
+
<!--
|
212
|
+
Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
|
213
|
+
of Technology, Institut National de Recherche en Informatique et en
|
214
|
+
Automatique, Keio University). All Rights Reserved. See
|
215
|
+
http://www.w3.org/Consortium/Legal/.
|
216
|
+
-->
|
@@ -0,0 +1,124 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
|
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"
|
8
|
+
>
|
9
|
+
|
10
|
+
<xs:annotation>
|
11
|
+
<xs:documentation>
|
12
|
+
This is the XML schema module for the token elements of the
|
13
|
+
presentation part of MathML.
|
14
|
+
Author: Stéphane Dalmas, INRIA.
|
15
|
+
</xs:documentation>
|
16
|
+
</xs:annotation>
|
17
|
+
|
18
|
+
<!-- The content of presentation token elements is either normal
|
19
|
+
characters, "mglyph" ones or alignment marks -->
|
20
|
+
|
21
|
+
<xs:group name="Glyph-alignmark.class">
|
22
|
+
<xs:choice>
|
23
|
+
<xs:element ref="malignmark"/>
|
24
|
+
<xs:element ref="mglyph"/>
|
25
|
+
</xs:choice>
|
26
|
+
</xs:group>
|
27
|
+
|
28
|
+
<!-- "mi" -->
|
29
|
+
|
30
|
+
<!-- "mi" is supposed to have a default value of its "mathvariant" attribute
|
31
|
+
set to "italic" -->
|
32
|
+
<xs:attributeGroup name="mi.attlist">
|
33
|
+
<xs:attributeGroup ref="Token-style.attrib"/>
|
34
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
35
|
+
</xs:attributeGroup>
|
36
|
+
|
37
|
+
<xs:complexType name="mi.type" mixed="true">
|
38
|
+
<xs:group ref="Glyph-alignmark.class" minOccurs="0" maxOccurs="unbounded"/>
|
39
|
+
<xs:attributeGroup ref="mi.attlist"/>
|
40
|
+
</xs:complexType>
|
41
|
+
|
42
|
+
<xs:element name="mi" type="mi.type"/>
|
43
|
+
|
44
|
+
<!-- "mo" -->
|
45
|
+
|
46
|
+
<xs:attributeGroup name="mo.attlist">
|
47
|
+
<xs:attributeGroup ref="Operator.attrib"/>
|
48
|
+
<xs:attributeGroup ref="Token-style.attrib"/>
|
49
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
50
|
+
</xs:attributeGroup>
|
51
|
+
|
52
|
+
<xs:complexType name="mo.type" mixed="true">
|
53
|
+
<xs:group ref="Glyph-alignmark.class" minOccurs="0" maxOccurs="unbounded"/>
|
54
|
+
<xs:attributeGroup ref="mo.attlist"/>
|
55
|
+
</xs:complexType>
|
56
|
+
|
57
|
+
<xs:element name="mo" type="mo.type"/>
|
58
|
+
|
59
|
+
<!-- "mn" -->
|
60
|
+
|
61
|
+
<xs:attributeGroup name="mn.attlist">
|
62
|
+
<xs:attributeGroup ref="Token-style.attrib"/>
|
63
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
64
|
+
</xs:attributeGroup>
|
65
|
+
|
66
|
+
<xs:complexType name="mn.type" mixed="true">
|
67
|
+
<xs:group ref="Glyph-alignmark.class" minOccurs="0" maxOccurs="unbounded"/>
|
68
|
+
<xs:attributeGroup ref="mi.attlist"/>
|
69
|
+
</xs:complexType>
|
70
|
+
|
71
|
+
<xs:element name="mn" type="mn.type"/>
|
72
|
+
|
73
|
+
<!-- "mtext" -->
|
74
|
+
|
75
|
+
<xs:attributeGroup name="mtext.attlist">
|
76
|
+
<xs:attributeGroup ref="Token-style.attrib"/>
|
77
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
78
|
+
</xs:attributeGroup>
|
79
|
+
|
80
|
+
<xs:complexType name="mtext.type" mixed="true">
|
81
|
+
<xs:group ref="Glyph-alignmark.class" minOccurs="0" maxOccurs="unbounded"/>
|
82
|
+
<xs:attributeGroup ref="mtext.attlist"/>
|
83
|
+
</xs:complexType>
|
84
|
+
|
85
|
+
<xs:element name="mtext" type="mtext.type"/>
|
86
|
+
|
87
|
+
<!-- "ms" -->
|
88
|
+
|
89
|
+
<xs:attributeGroup name="ms.attlist">
|
90
|
+
<!-- the values of "lquote" or "rquote" are not restricted to be
|
91
|
+
one character strings... -->
|
92
|
+
<xs:attribute name="lquote" type="xs:string" default="""/>
|
93
|
+
<xs:attribute name="rquote" type="xs:string" default="""/>
|
94
|
+
<xs:attributeGroup ref="Token-style.attrib"/>
|
95
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
96
|
+
</xs:attributeGroup>
|
97
|
+
|
98
|
+
<xs:complexType name="ms.type" mixed="true">
|
99
|
+
<xs:group ref="Glyph-alignmark.class" minOccurs="0" maxOccurs="unbounded"/>
|
100
|
+
<xs:attributeGroup ref="ms.attlist"/>
|
101
|
+
</xs:complexType>
|
102
|
+
|
103
|
+
<xs:element name="ms" type="ms.type"/>
|
104
|
+
|
105
|
+
<!-- And the group of any token -->
|
106
|
+
|
107
|
+
<xs:group name="Presentation-token.class">
|
108
|
+
<xs:choice>
|
109
|
+
<xs:element ref="mi"/>
|
110
|
+
<xs:element ref="mo"/>
|
111
|
+
<xs:element ref="mn"/>
|
112
|
+
<xs:element ref="mtext"/>
|
113
|
+
<xs:element ref="ms"/>
|
114
|
+
</xs:choice>
|
115
|
+
</xs:group>
|
116
|
+
|
117
|
+
</xs:schema>
|
118
|
+
|
119
|
+
<!--
|
120
|
+
Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
|
121
|
+
of Technology, Institut National de Recherche en Informatique et en
|
122
|
+
Automatique, Keio University). All Rights Reserved. See
|
123
|
+
http://www.w3.org/Consortium/Legal/.
|
124
|
+
-->
|
@@ -0,0 +1,100 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- METS XLink Schema, v. 2, Nov. 15, 2004 -->
|
3
|
+
<!--* Downloaded 27 April 2012 from http://www.loc.gov/standards/mets/xlink.xsd
|
4
|
+
* and modified as noted. *-->
|
5
|
+
<!--* Some cosmetic changes to line breaks. *-->
|
6
|
+
<!--* Add top-level declaration of xlink:type. *-->
|
7
|
+
<schema targetNamespace="http://www.w3.org/1999/xlink"
|
8
|
+
xmlns="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
10
|
+
elementFormDefault="qualified">
|
11
|
+
|
12
|
+
<!-- global attributes -->
|
13
|
+
<attribute name="href" type="anyURI"/>
|
14
|
+
<attribute name="role" type="string"/>
|
15
|
+
<attribute name="arcrole" type="string"/>
|
16
|
+
<attribute name="title" type="string" />
|
17
|
+
<attribute name="show">
|
18
|
+
<simpleType>
|
19
|
+
<restriction base="string">
|
20
|
+
<enumeration value="new" />
|
21
|
+
<enumeration value="replace" />
|
22
|
+
<enumeration value="embed" />
|
23
|
+
<enumeration value="other" />
|
24
|
+
<enumeration value="none" />
|
25
|
+
</restriction>
|
26
|
+
</simpleType>
|
27
|
+
</attribute>
|
28
|
+
<attribute name="actuate">
|
29
|
+
<simpleType>
|
30
|
+
<restriction base="string">
|
31
|
+
<enumeration value="onLoad" />
|
32
|
+
<enumeration value="onRequest" />
|
33
|
+
<enumeration value="other" />
|
34
|
+
<enumeration value="none" />
|
35
|
+
</restriction>
|
36
|
+
</simpleType>
|
37
|
+
</attribute>
|
38
|
+
<attribute name="label" type="string" />
|
39
|
+
<attribute name="from" type="string" />
|
40
|
+
<attribute name="to" type="string" />
|
41
|
+
|
42
|
+
<attributeGroup name="simpleLink">
|
43
|
+
<attribute name="type" type="string" fixed="simple" form="qualified" />
|
44
|
+
<attribute ref="xlink:href" use="optional" />
|
45
|
+
<attribute ref="xlink:role" use="optional" />
|
46
|
+
<attribute ref="xlink:arcrole" use="optional" />
|
47
|
+
<attribute ref="xlink:title" use="optional" />
|
48
|
+
<attribute ref="xlink:show" use="optional" />
|
49
|
+
<attribute ref="xlink:actuate" use="optional" />
|
50
|
+
</attributeGroup>
|
51
|
+
<attributeGroup name="extendedLink">
|
52
|
+
<attribute name="type" type="string" fixed="extended" form="qualified" />
|
53
|
+
<attribute ref="xlink:role" use="optional" />
|
54
|
+
<attribute ref="xlink:title" use="optional" />
|
55
|
+
</attributeGroup>
|
56
|
+
<attributeGroup name="locatorLink">
|
57
|
+
<attribute name="type" type="string" fixed="locator" form="qualified" />
|
58
|
+
<attribute ref="xlink:href" use="required" />
|
59
|
+
<attribute ref="xlink:role" use="optional" />
|
60
|
+
<attribute ref="xlink:title" use="optional" />
|
61
|
+
<attribute ref="xlink:label" use="optional" />
|
62
|
+
</attributeGroup>
|
63
|
+
<attributeGroup name="arcLink">
|
64
|
+
<attribute name="type" type="string" fixed="arc" form="qualified" />
|
65
|
+
<attribute ref="xlink:arcrole" use="optional" />
|
66
|
+
<attribute ref="xlink:title" use="optional" />
|
67
|
+
<attribute ref="xlink:show" use="optional" />
|
68
|
+
<attribute ref="xlink:actuate" use="optional" />
|
69
|
+
<attribute ref="xlink:from" use="optional" />
|
70
|
+
<attribute ref="xlink:to" use="optional" />
|
71
|
+
</attributeGroup>
|
72
|
+
<attributeGroup name="resourceLink">
|
73
|
+
<attribute name="type" type="string" fixed="resource" form="qualified" />
|
74
|
+
<attribute ref="xlink:role" use="optional" />
|
75
|
+
<attribute ref="xlink:title" use="optional" />
|
76
|
+
<attribute ref="xlink:label" use="optional" />
|
77
|
+
</attributeGroup>
|
78
|
+
<attributeGroup name="titleLink">
|
79
|
+
<attribute name="type" type="string" fixed="title" form="qualified" />
|
80
|
+
</attributeGroup>
|
81
|
+
<attributeGroup name="emptyLink">
|
82
|
+
<attribute name="type" type="string" fixed="none" form="qualified" />
|
83
|
+
</attributeGroup>
|
84
|
+
|
85
|
+
<!--* Addition for IEEE union schema *-->
|
86
|
+
<attribute name="type">
|
87
|
+
<simpleType>
|
88
|
+
<restriction base="string">
|
89
|
+
<enumeration value="simple"/>
|
90
|
+
<enumeration value="extended"/>
|
91
|
+
<enumeration value="locator"/>
|
92
|
+
<enumeration value="arc"/>
|
93
|
+
<enumeration value="resource"/>
|
94
|
+
<enumeration value="title"/>
|
95
|
+
<enumeration value="none"/>
|
96
|
+
</restriction>
|
97
|
+
</simpleType>
|
98
|
+
</attribute>
|
99
|
+
|
100
|
+
</schema>
|