mml 2.3.0 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitmodules +9 -0
- data/.rubocop.yml +4 -0
- data/.rubocop_todo.yml +83 -18
- data/Gemfile +0 -2
- data/README.adoc +176 -47
- data/Rakefile +16 -1
- data/lib/mml/base/common_attributes.rb +44 -0
- data/lib/mml/base/content/annotation.rb +28 -0
- data/lib/mml/base/content/annotation_xml.rb +31 -0
- data/lib/mml/base/content/apply.rb +27 -0
- data/lib/mml/base/content/arith.rb +243 -0
- data/lib/mml/base/content/bind.rb +27 -0
- data/lib/mml/base/content/bvar.rb +20 -0
- data/lib/mml/base/content/calculus.rb +103 -0
- data/lib/mml/base/content/cbytes.rb +24 -0
- data/lib/mml/base/content/cerror.rb +24 -0
- data/lib/mml/base/content/ci.rb +77 -0
- data/lib/mml/base/content/cn.rb +33 -0
- data/lib/mml/base/content/condition.rb +20 -0
- data/lib/mml/base/content/constants.rb +173 -0
- data/lib/mml/base/content/cs.rb +22 -0
- data/lib/mml/base/content/csymbol.rb +79 -0
- data/lib/mml/base/content/declare.rb +34 -0
- data/lib/mml/base/content/degree.rb +20 -0
- data/lib/mml/base/content/elementary_functions.rb +309 -0
- data/lib/mml/base/content/fn.rb +25 -0
- data/lib/mml/base/content/functions.rb +85 -0
- data/lib/mml/base/content/interval.rb +24 -0
- data/lib/mml/base/content/inverse.rb +25 -0
- data/lib/mml/base/content/lambda.rb +20 -0
- data/lib/mml/base/content/linear_algebra.rb +122 -0
- data/lib/mml/base/content/logic.rb +93 -0
- data/lib/mml/base/content/otherwise.rb +20 -0
- data/lib/mml/base/content/piece.rb +20 -0
- data/lib/mml/base/content/piecewise.rb +20 -0
- data/lib/mml/base/content/relations.rb +113 -0
- data/lib/mml/base/content/reln.rb +19 -0
- data/lib/mml/base/content/semantics.rb +27 -0
- data/lib/mml/base/content/sep.rb +19 -0
- data/lib/mml/base/content/sets.rb +163 -0
- data/lib/mml/base/content/share.rb +22 -0
- data/lib/mml/base/content/statistics.rb +95 -0
- data/lib/mml/base/content/vector_calculus.rb +63 -0
- data/lib/mml/base/content_loader.rb +195 -0
- data/lib/mml/base/maction.rb +1 -0
- data/lib/mml/base/math.rb +47 -0
- data/lib/mml/base/menclose.rb +1 -1
- data/lib/mml/base/mfenced.rb +2 -2
- data/lib/mml/base/mglyph.rb +2 -2
- data/lib/mml/base/mi.rb +9 -6
- data/lib/mml/base/mlabeledtr.rb +2 -6
- data/lib/mml/base/mn.rb +3 -2
- data/lib/mml/base/mo.rb +3 -3
- data/lib/mml/base/mrow.rb +0 -2
- data/lib/mml/base/ms.rb +4 -6
- data/lib/mml/base/mscarries.rb +1 -1
- data/lib/mml/base/mspace.rb +0 -2
- data/lib/mml/base/mstyle.rb +4 -8
- data/lib/mml/base/mtable.rb +8 -0
- data/lib/mml/base/mtd.rb +6 -0
- data/lib/mml/base/mtext.rb +0 -2
- data/lib/mml/base/semantics.rb +4 -2
- data/lib/mml/base/universal_presentation_attributes.rb +46 -0
- data/lib/mml/base/v3_common.rb +16 -0
- data/lib/mml/base/v3_presentation_attributes.rb +15 -0
- data/lib/mml/base/v4_attributes.rb +4 -18
- data/lib/mml/base.rb +11 -0
- data/lib/mml/common_elements.rb +336 -0
- data/lib/mml/context_configuration.rb +29 -0
- data/lib/mml/v2/annotation.rb +9 -0
- data/lib/mml/v2/annotation_xml.rb +9 -0
- data/lib/mml/v2/apply.rb +9 -0
- data/lib/mml/v2/arith.rb +93 -0
- data/lib/mml/v2/bind.rb +9 -0
- data/lib/mml/v2/bvar.rb +9 -0
- data/lib/mml/v2/calculus.rb +33 -0
- data/lib/mml/v2/ci.rb +9 -0
- data/lib/mml/v2/cn.rb +9 -0
- data/lib/mml/v2/common_elements.rb +34 -0
- data/lib/mml/v2/condition.rb +9 -0
- data/lib/mml/v2/configuration.rb +13 -0
- data/lib/mml/v2/constants.rb +65 -0
- data/lib/mml/v2/csymbol.rb +9 -0
- data/lib/mml/v2/degree.rb +9 -0
- data/lib/mml/v2/elementary_functions.rb +121 -0
- data/lib/mml/v2/fn.rb +9 -0
- data/lib/mml/v2/functions.rb +29 -0
- data/lib/mml/v2/interval.rb +9 -0
- data/lib/mml/v2/inverse.rb +9 -0
- data/lib/mml/v2/lambda.rb +9 -0
- data/lib/mml/v2/linear_algebra.rb +41 -0
- data/lib/mml/v2/logic.rb +33 -0
- data/lib/mml/v2/maction.rb +9 -0
- data/lib/mml/v2/maligngroup.rb +9 -0
- data/lib/mml/v2/malignmark.rb +9 -0
- data/lib/mml/v2/math.rb +11 -0
- data/lib/mml/v2/menclose.rb +9 -0
- data/lib/mml/v2/merror.rb +9 -0
- data/lib/mml/v2/mfenced.rb +9 -0
- data/lib/mml/v2/mfrac.rb +9 -0
- data/lib/mml/v2/mfraction.rb +9 -0
- data/lib/mml/v2/mglyph.rb +9 -0
- data/lib/mml/v2/mi.rb +9 -0
- data/lib/mml/v2/mlabeledtr.rb +9 -0
- data/lib/mml/v2/mlongdiv.rb +9 -0
- data/lib/mml/v2/mmultiscripts.rb +9 -0
- data/lib/mml/v2/mn.rb +9 -0
- data/lib/mml/v2/mo.rb +10 -0
- data/lib/mml/v2/mover.rb +9 -0
- data/lib/mml/v2/mpadded.rb +9 -0
- data/lib/mml/v2/mphantom.rb +9 -0
- data/lib/mml/v2/mprescripts.rb +9 -0
- data/lib/mml/v2/mroot.rb +9 -0
- data/lib/mml/v2/mrow.rb +9 -0
- data/lib/mml/v2/ms.rb +9 -0
- data/lib/mml/v2/mscarries.rb +9 -0
- data/lib/mml/v2/mscarry.rb +9 -0
- data/lib/mml/v2/msgroup.rb +9 -0
- data/lib/mml/v2/msline.rb +9 -0
- data/lib/mml/v2/mspace.rb +9 -0
- data/lib/mml/v2/msqrt.rb +9 -0
- data/lib/mml/v2/msrow.rb +9 -0
- data/lib/mml/v2/mstack.rb +9 -0
- data/lib/mml/v2/mstyle.rb +10 -0
- data/lib/mml/v2/msub.rb +9 -0
- data/lib/mml/v2/msubsup.rb +9 -0
- data/lib/mml/v2/msup.rb +9 -0
- data/lib/mml/v2/mtable.rb +9 -0
- data/lib/mml/v2/mtd.rb +9 -0
- data/lib/mml/v2/mtext.rb +9 -0
- data/lib/mml/v2/mtr.rb +9 -0
- data/lib/mml/v2/munder.rb +9 -0
- data/lib/mml/v2/munderover.rb +9 -0
- data/lib/mml/v2/namespace.rb +7 -0
- data/lib/mml/v2/none.rb +9 -0
- data/lib/mml/v2/otherwise.rb +9 -0
- data/lib/mml/v2/piece.rb +9 -0
- data/lib/mml/v2/piecewise.rb +9 -0
- data/lib/mml/v2/relations.rb +41 -0
- data/lib/mml/v2/reln.rb +13 -0
- data/lib/mml/v2/semantics.rb +9 -0
- data/lib/mml/v2/sep.rb +9 -0
- data/lib/mml/v2/sets.rb +57 -0
- data/lib/mml/v2/statistics.rb +33 -0
- data/lib/mml/v2/vector_calculus.rb +21 -0
- data/lib/mml/v2.rb +311 -0
- data/lib/mml/v3/annotation.rb +10 -0
- data/lib/mml/v3/annotation_xml.rb +10 -0
- data/lib/mml/v3/apply.rb +10 -0
- data/lib/mml/v3/arith.rb +115 -0
- data/lib/mml/v3/bind.rb +10 -0
- data/lib/mml/v3/calculus.rb +40 -0
- data/lib/mml/v3/cbytes.rb +10 -0
- data/lib/mml/v3/cerror.rb +10 -0
- data/lib/mml/v3/ci.rb +10 -0
- data/lib/mml/v3/cn.rb +10 -0
- data/lib/mml/v3/common_elements.rb +34 -0
- data/lib/mml/v3/constants.rb +80 -0
- data/lib/mml/v3/constructs.rb +55 -0
- data/lib/mml/v3/cs.rb +10 -0
- data/lib/mml/v3/csymbol.rb +10 -0
- data/lib/mml/v3/deprecated_content.rb +29 -0
- data/lib/mml/v3/elementary_functions.rb +145 -0
- data/lib/mml/v3/functions.rb +35 -0
- data/lib/mml/v3/linear_algebra.rb +50 -0
- data/lib/mml/v3/logic.rb +40 -0
- data/lib/mml/v3/maction.rb +1 -1
- data/lib/mml/v3/math.rb +7 -1
- data/lib/mml/v3/mi.rb +1 -0
- data/lib/mml/v3/mn.rb +1 -0
- data/lib/mml/v3/mo.rb +1 -0
- data/lib/mml/v3/mrow.rb +1 -0
- data/lib/mml/v3/ms.rb +1 -0
- data/lib/mml/v3/mstyle.rb +1 -0
- data/lib/mml/v3/mtext.rb +1 -0
- data/lib/mml/v3/relations.rb +50 -0
- data/lib/mml/v3/sets.rb +70 -0
- data/lib/mml/v3/statistics.rb +40 -0
- data/lib/mml/v3/vector_calculus.rb +25 -0
- data/lib/mml/v3.rb +25 -0
- data/lib/mml/v4/a.rb +4 -3
- data/lib/mml/v4/annotation.rb +10 -0
- data/lib/mml/v4/annotation_xml.rb +14 -0
- data/lib/mml/v4/apply.rb +9 -0
- data/lib/mml/v4/arith.rb +93 -0
- data/lib/mml/v4/calculus.rb +25 -0
- data/lib/mml/v4/cbytes.rb +9 -0
- data/lib/mml/v4/cerror.rb +9 -0
- data/lib/mml/v4/ci.rb +9 -0
- data/lib/mml/v4/cn.rb +9 -0
- data/lib/mml/v4/common_elements.rb +33 -0
- data/lib/mml/v4/constants.rb +65 -0
- data/lib/mml/v4/constructs.rb +49 -0
- data/lib/mml/v4/cs.rb +9 -0
- data/lib/mml/v4/csymbol.rb +9 -0
- data/lib/mml/v4/deprecated_content.rb +25 -0
- data/lib/mml/v4/elementary_functions.rb +118 -0
- data/lib/mml/v4/factorof.rb +9 -0
- data/lib/mml/v4/functions.rb +30 -0
- data/lib/mml/v4/limit.rb +9 -0
- data/lib/mml/v4/linear_algebra.rb +41 -0
- data/lib/mml/v4/logic.rb +33 -0
- data/lib/mml/v4/maction.rb +1 -2
- data/lib/mml/v4/maligngroup.rb +0 -1
- data/lib/mml/v4/malignmark.rb +0 -1
- data/lib/mml/v4/math.rb +1 -1
- data/lib/mml/v4/menclose.rb +0 -1
- data/lib/mml/v4/merror.rb +0 -1
- data/lib/mml/v4/mfenced.rb +0 -1
- data/lib/mml/v4/mfrac.rb +0 -1
- data/lib/mml/v4/mfraction.rb +0 -1
- data/lib/mml/v4/mglyph.rb +0 -1
- data/lib/mml/v4/mi.rb +1 -1
- data/lib/mml/v4/mlabeledtr.rb +0 -1
- data/lib/mml/v4/mlongdiv.rb +0 -1
- data/lib/mml/v4/mmultiscripts.rb +0 -1
- data/lib/mml/v4/mn.rb +1 -1
- data/lib/mml/v4/mo.rb +1 -1
- data/lib/mml/v4/mover.rb +0 -1
- data/lib/mml/v4/mpadded.rb +0 -1
- data/lib/mml/v4/mphantom.rb +0 -1
- data/lib/mml/v4/mprescripts.rb +0 -1
- data/lib/mml/v4/mroot.rb +0 -1
- data/lib/mml/v4/mrow.rb +1 -1
- data/lib/mml/v4/ms.rb +1 -1
- data/lib/mml/v4/mscarries.rb +0 -1
- data/lib/mml/v4/mscarry.rb +0 -1
- data/lib/mml/v4/msgroup.rb +0 -1
- data/lib/mml/v4/msline.rb +0 -1
- data/lib/mml/v4/mspace.rb +0 -1
- data/lib/mml/v4/msqrt.rb +0 -1
- data/lib/mml/v4/msrow.rb +0 -1
- data/lib/mml/v4/mstack.rb +0 -1
- data/lib/mml/v4/mstyle.rb +1 -1
- data/lib/mml/v4/msub.rb +0 -1
- data/lib/mml/v4/msubsup.rb +0 -1
- data/lib/mml/v4/msup.rb +0 -1
- data/lib/mml/v4/mtable.rb +0 -1
- data/lib/mml/v4/mtd.rb +0 -1
- data/lib/mml/v4/mtext.rb +1 -1
- data/lib/mml/v4/mtr.rb +0 -1
- data/lib/mml/v4/munder.rb +0 -1
- data/lib/mml/v4/munderover.rb +0 -1
- data/lib/mml/v4/none.rb +0 -1
- data/lib/mml/v4/relations.rb +37 -0
- data/lib/mml/v4/semantics.rb +0 -1
- data/lib/mml/v4/sets.rb +57 -0
- data/lib/mml/v4/statistics.rb +33 -0
- data/lib/mml/v4/tendsto.rb +9 -0
- data/lib/mml/v4/vector_calculus.rb +21 -0
- data/lib/mml/v4.rb +421 -44
- data/lib/mml/version.rb +1 -1
- data/lib/mml/versioned_parser.rb +1 -1
- data/lib/mml.rb +3 -1
- data/reference-docs/mathml-source/pubtext/mathmlspec.dtd +150 -0
- data/reference-docs/mathml-source/pubtext/xmlspec.dtd +2649 -0
- data/reference-docs/mathml-source/readme.txt +40 -0
- data/reference-docs/mathml-source/run +296 -0
- data/reference-docs/mathml-source/style/html/html2xhtml.xsl +216 -0
- data/reference-docs/mathml-source/style/html/images.xsl +98 -0
- data/reference-docs/mathml-source/style/html/mml6.xsl +1156 -0
- data/reference-docs/mathml-source/style/html/mmldiff.xsl +566 -0
- data/reference-docs/mathml-source/style/html/mmlspec.xsl +2531 -0
- data/reference-docs/mathml-source/style/html/slices-common.xsl +312 -0
- data/reference-docs/mathml-source/style/html/slices.xsl +48 -0
- data/reference-docs/mathml-source/style/html/xmlspec.xsl +2542 -0
- data/reference-docs/mathml-source/style/pdf/mathmlspec.xsl +2510 -0
- data/reference-docs/mathml-source/xml/changes.xml +773 -0
- data/reference-docs/mathml-source/xml/character-set.xml +1011 -0
- data/reference-docs/mathml-source/xml/content-element-def.xml +6143 -0
- data/reference-docs/mathml-source/xml/content-markup.xml +8178 -0
- data/reference-docs/mathml-source/xml/contributors.xml +425 -0
- data/reference-docs/mathml-source/xml/dom-bindings.xml +20 -0
- data/reference-docs/mathml-source/xml/dom-intro.xml +114 -0
- data/reference-docs/mathml-source/xml/fundamentals.xml +1646 -0
- data/reference-docs/mathml-source/xml/glossary.xml +519 -0
- data/reference-docs/mathml-source/xml/interface.xml +1096 -0
- data/reference-docs/mathml-source/xml/introduction.xml +724 -0
- data/reference-docs/mathml-source/xml/mathml-css-sample.xml +304 -0
- data/reference-docs/mathml-source/xml/mathml-dom.xml +3813 -0
- data/reference-docs/mathml-source/xml/mathml-spec.xml +356 -0
- data/reference-docs/mathml-source/xml/mixing.xml +982 -0
- data/reference-docs/mathml-source/xml/operator-dict.xml +551 -0
- data/reference-docs/mathml-source/xml/parsing.xml +2565 -0
- data/reference-docs/mathml-source/xml/presentation-markup.xml +6834 -0
- data/reference-docs/mathml-source/xml/references.xml +323 -0
- data/reference-docs/mathml-source/xml/validation-grammar.xml +877 -0
- data/schemas/README.adoc +17 -0
- data/schemas/mathml2/common/common-attribs.xsd +41 -0
- data/schemas/mathml2/common/math.xsd +126 -0
- data/schemas/mathml2/common/xlink-href.xsd +20 -0
- data/schemas/mathml2/content/CVS/Entries +16 -0
- data/schemas/mathml2/content/CVS/Repository +1 -0
- data/schemas/mathml2/content/CVS/Root +1 -0
- data/schemas/mathml2/content/arith.xsd +90 -0
- data/schemas/mathml2/content/calculus.xsd +146 -0
- data/schemas/mathml2/content/common-attrib.xsd +30 -0
- data/schemas/mathml2/content/constants.xsd +83 -0
- data/schemas/mathml2/content/constructs.xsd +260 -0
- data/schemas/mathml2/content/elementary-functions.xsd +117 -0
- data/schemas/mathml2/content/functions.xsd +73 -0
- data/schemas/mathml2/content/linear-algebra.xsd +173 -0
- data/schemas/mathml2/content/logic.xsd +53 -0
- data/schemas/mathml2/content/relations.xsd +55 -0
- data/schemas/mathml2/content/semantics.xsd +85 -0
- data/schemas/mathml2/content/sets.xsd +236 -0
- data/schemas/mathml2/content/statistics.xsd +136 -0
- data/schemas/mathml2/content/tokens.xsd +120 -0
- data/schemas/mathml2/content/tokens.xsd.~1.3.~ +119 -0
- data/schemas/mathml2/content/vector-calculus.xsd +88 -0
- data/schemas/mathml2/mathml2.xsd +59 -0
- data/schemas/mathml2/presentation/action.xsd +44 -0
- data/schemas/mathml2/presentation/characters.xsd +37 -0
- data/schemas/mathml2/presentation/common-attribs.xsd +113 -0
- data/schemas/mathml2/presentation/common-types.xsd +103 -0
- data/schemas/mathml2/presentation/error.xsd +40 -0
- data/schemas/mathml2/presentation/layout.xsd +195 -0
- data/schemas/mathml2/presentation/scripts.xsd +186 -0
- data/schemas/mathml2/presentation/space.xsd +52 -0
- data/schemas/mathml2/presentation/style.xsd +69 -0
- data/schemas/mathml2/presentation/table.xsd +216 -0
- data/schemas/mathml2/presentation/tokens.xsd +124 -0
- data/schemas/mathml3/mathml3-common.xsd +99 -0
- data/schemas/mathml3/mathml3-content.xsd +684 -0
- data/schemas/mathml3/mathml3-presentation.xsd +2151 -0
- data/schemas/mathml3/mathml3-strict-content.xsd +186 -0
- data/schemas/mathml3/mathml3.xsd +9 -0
- data/schemas/mathml4/mathml4-content.rnc +382 -0
- data/schemas/mathml4/mathml4-core.rnc +361 -0
- data/schemas/mathml4/mathml4-presentation.rnc +358 -0
- data/schemas/mathml4/mathml4-strict-content.rnc +86 -0
- data/schemas/mathml4/mathml4.rnc +21 -0
- data/schemas/mathml4/mathml4.rnc.1 +21 -0
- data/schemas/mathml4/mathml4.rng +37 -0
- metadata +249 -2
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<xs:schema
|
|
2
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
3
|
+
xmlns="http://www.w3.org/1998/Math/MathML"
|
|
4
|
+
targetNamespace="http://www.w3.org/1998/Math/MathML"
|
|
5
|
+
elementFormDefault="qualified"
|
|
6
|
+
>
|
|
7
|
+
|
|
8
|
+
<xs:annotation>
|
|
9
|
+
<xs:documentation>
|
|
10
|
+
This is an XML Schema module for the relational operators of content MathML.
|
|
11
|
+
Author: Stéphane Dalmas, INRIA.
|
|
12
|
+
</xs:documentation>
|
|
13
|
+
</xs:annotation>
|
|
14
|
+
|
|
15
|
+
<!-- a common type for all this -->
|
|
16
|
+
<xs:complexType name="Relations.type">
|
|
17
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
18
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
19
|
+
</xs:complexType>
|
|
20
|
+
|
|
21
|
+
<xs:element name="eq" type="Relations.type"/>
|
|
22
|
+
<xs:element name="neq" type="Relations.type"/>
|
|
23
|
+
<xs:element name="leq" type="Relations.type"/>
|
|
24
|
+
<xs:element name="lt" type="Relations.type"/>
|
|
25
|
+
<xs:element name="geq" type="Relations.type"/>
|
|
26
|
+
<xs:element name="gt" type="Relations.type"/>
|
|
27
|
+
|
|
28
|
+
<xs:element name="equivalent" type="Relations.type"/>
|
|
29
|
+
|
|
30
|
+
<xs:element name="approx" type="Relations.type"/>
|
|
31
|
+
|
|
32
|
+
<xs:element name="factorof" type="Relations.type"/>
|
|
33
|
+
|
|
34
|
+
<!-- And the group of everything -->
|
|
35
|
+
<xs:group name="Content-relations.class">
|
|
36
|
+
<xs:choice>
|
|
37
|
+
<xs:element ref="eq"/>
|
|
38
|
+
<xs:element ref="neq"/>
|
|
39
|
+
<xs:element ref="leq"/>
|
|
40
|
+
<xs:element ref="lt"/>
|
|
41
|
+
<xs:element ref="geq"/>
|
|
42
|
+
<xs:element ref="gt"/>
|
|
43
|
+
<xs:element ref="equivalent"/>
|
|
44
|
+
<xs:element ref="approx"/>
|
|
45
|
+
<xs:element ref="factorof"/>
|
|
46
|
+
</xs:choice>
|
|
47
|
+
</xs:group>
|
|
48
|
+
|
|
49
|
+
</xs:schema>
|
|
50
|
+
<!--
|
|
51
|
+
Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
|
|
52
|
+
of Technology, Institut National de Recherche en Informatique et en
|
|
53
|
+
Automatique, Keio University). All Rights Reserved. See
|
|
54
|
+
http://www.w3.org/Consortium/Legal/.
|
|
55
|
+
-->
|
|
@@ -0,0 +1,85 @@
|
|
|
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 the "sematics" element of content MathML.
|
|
13
|
+
Author: Stéphane Dalmas, INRIA.
|
|
14
|
+
</xs:documentation>
|
|
15
|
+
</xs:annotation>
|
|
16
|
+
|
|
17
|
+
<!-- "annotation" -->
|
|
18
|
+
|
|
19
|
+
<xs:attributeGroup name="annotation.attlist">
|
|
20
|
+
<xs:attribute name="encoding" type="xs:string"/>
|
|
21
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
22
|
+
</xs:attributeGroup>
|
|
23
|
+
|
|
24
|
+
<xs:complexType name="annotation.type" mixed="true">
|
|
25
|
+
<xs:attributeGroup ref="annotation.attlist"/>
|
|
26
|
+
</xs:complexType>
|
|
27
|
+
|
|
28
|
+
<xs:element name="annotation" type="annotation.type"/>
|
|
29
|
+
|
|
30
|
+
<!-- "annotation-xml" -->
|
|
31
|
+
|
|
32
|
+
<xs:attributeGroup name="annotation-xml.attlist">
|
|
33
|
+
<xs:attribute name="encoding" type="xs:string"/>
|
|
34
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
35
|
+
</xs:attributeGroup>
|
|
36
|
+
|
|
37
|
+
<xs:group name="annotation-xml.content">
|
|
38
|
+
<xs:sequence>
|
|
39
|
+
<xs:any processContents="lax"/>
|
|
40
|
+
</xs:sequence>
|
|
41
|
+
</xs:group>
|
|
42
|
+
|
|
43
|
+
<xs:complexType name="annotation-xml.type">
|
|
44
|
+
<xs:group ref="annotation-xml.content"/>
|
|
45
|
+
<xs:attributeGroup ref="annotation-xml.attlist"/>
|
|
46
|
+
</xs:complexType>
|
|
47
|
+
|
|
48
|
+
<xs:element name="annotation-xml" type="annotation-xml.type"/>
|
|
49
|
+
|
|
50
|
+
<!-- "semantics" -->
|
|
51
|
+
|
|
52
|
+
<xs:attributeGroup name="semantics.attlist">
|
|
53
|
+
<xs:attribute name="encoding" type="xs:string"/>
|
|
54
|
+
<xs:attribute name="definitionURL" type="xs:anyURI"/>
|
|
55
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
56
|
+
</xs:attributeGroup>
|
|
57
|
+
|
|
58
|
+
<xs:group name="Annotation.class">
|
|
59
|
+
<xs:choice>
|
|
60
|
+
<xs:element ref="annotation"/>
|
|
61
|
+
<xs:element ref="annotation-xml"/>
|
|
62
|
+
</xs:choice>
|
|
63
|
+
</xs:group>
|
|
64
|
+
|
|
65
|
+
<xs:group name="semantics.content">
|
|
66
|
+
<xs:sequence>
|
|
67
|
+
<xs:group ref="Content-expr.class"/>
|
|
68
|
+
<xs:group ref="Annotation.class" minOccurs="1" maxOccurs="unbounded"/>
|
|
69
|
+
</xs:sequence>
|
|
70
|
+
</xs:group>
|
|
71
|
+
|
|
72
|
+
<xs:complexType name="semantics.type">
|
|
73
|
+
<xs:group ref="semantics.content" minOccurs="1" maxOccurs="unbounded"/>
|
|
74
|
+
<xs:attributeGroup ref="semantics.attlist"/>
|
|
75
|
+
</xs:complexType>
|
|
76
|
+
|
|
77
|
+
<xs:element name="semantics" type="semantics.type"/>
|
|
78
|
+
|
|
79
|
+
</xs:schema>
|
|
80
|
+
<!--
|
|
81
|
+
Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
|
|
82
|
+
of Technology, Institut National de Recherche en Informatique et en
|
|
83
|
+
Automatique, Keio University). All Rights Reserved. See
|
|
84
|
+
http://www.w3.org/Consortium/Legal/.
|
|
85
|
+
-->
|
|
@@ -0,0 +1,236 @@
|
|
|
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 the part of content MathML dealing with
|
|
13
|
+
sets and lists.
|
|
14
|
+
Author: Stéphane Dalmas, INRIA.
|
|
15
|
+
</xs:documentation>
|
|
16
|
+
</xs:annotation>
|
|
17
|
+
|
|
18
|
+
<!-- "set" -->
|
|
19
|
+
|
|
20
|
+
<!-- "type" could be "multiset" or "normal" or anything else -->
|
|
21
|
+
<xs:attributeGroup name="set.attlist">
|
|
22
|
+
<xs:attribute name="type" type="xs:string"/>
|
|
23
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
24
|
+
</xs:attributeGroup>
|
|
25
|
+
|
|
26
|
+
<xs:group name="set.content">
|
|
27
|
+
<xs:sequence>
|
|
28
|
+
<xs:group ref="Content-expr.class"/>
|
|
29
|
+
</xs:sequence>
|
|
30
|
+
</xs:group>
|
|
31
|
+
|
|
32
|
+
<xs:complexType name="set.type">
|
|
33
|
+
<xs:group ref="set.content" minOccurs="0" maxOccurs="unbounded"/>
|
|
34
|
+
<xs:attributeGroup ref="set.attlist"/>
|
|
35
|
+
</xs:complexType>
|
|
36
|
+
|
|
37
|
+
<xs:element name="set" type="set.type"/>
|
|
38
|
+
|
|
39
|
+
<!-- "list" -->
|
|
40
|
+
|
|
41
|
+
<xs:attributeGroup name="list.attlist">
|
|
42
|
+
<xs:attribute name="order">
|
|
43
|
+
<xs:simpleType>
|
|
44
|
+
<xs:restriction base="xs:string">
|
|
45
|
+
<xs:enumeration value="lexicographic"/>
|
|
46
|
+
<xs:enumeration value="numeric"/>
|
|
47
|
+
</xs:restriction>
|
|
48
|
+
</xs:simpleType>
|
|
49
|
+
</xs:attribute>
|
|
50
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
51
|
+
</xs:attributeGroup>
|
|
52
|
+
|
|
53
|
+
<xs:group name="list.content">
|
|
54
|
+
<xs:sequence>
|
|
55
|
+
<xs:group ref="Content-expr.class"/>
|
|
56
|
+
</xs:sequence>
|
|
57
|
+
</xs:group>
|
|
58
|
+
|
|
59
|
+
<xs:complexType name="list.type">
|
|
60
|
+
<xs:group ref="list.content" minOccurs="0" maxOccurs="unbounded"/>
|
|
61
|
+
<xs:attributeGroup ref="list.attlist"/>
|
|
62
|
+
</xs:complexType>
|
|
63
|
+
|
|
64
|
+
<xs:element name="list" type="list.type"/>
|
|
65
|
+
|
|
66
|
+
<!-- "union" -->
|
|
67
|
+
|
|
68
|
+
<xs:attributeGroup name="union.attlist">
|
|
69
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
70
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
71
|
+
</xs:attributeGroup>
|
|
72
|
+
|
|
73
|
+
<xs:complexType name="union.type">
|
|
74
|
+
<xs:attributeGroup ref="union.attlist"/>
|
|
75
|
+
</xs:complexType>
|
|
76
|
+
|
|
77
|
+
<xs:element name="union" type="union.type"/>
|
|
78
|
+
|
|
79
|
+
<!-- "intersect" -->
|
|
80
|
+
|
|
81
|
+
<xs:attributeGroup name="intersect.attlist">
|
|
82
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
83
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
84
|
+
</xs:attributeGroup>
|
|
85
|
+
|
|
86
|
+
<xs:complexType name="intersect.type">
|
|
87
|
+
<xs:attributeGroup ref="intersect.attlist"/>
|
|
88
|
+
</xs:complexType>
|
|
89
|
+
|
|
90
|
+
<xs:element name="intersect" type="intersect.type"/>
|
|
91
|
+
|
|
92
|
+
<!-- "in" -->
|
|
93
|
+
|
|
94
|
+
<xs:attributeGroup name="in.attlist">
|
|
95
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
96
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
97
|
+
</xs:attributeGroup>
|
|
98
|
+
|
|
99
|
+
<xs:complexType name="in.type">
|
|
100
|
+
<xs:attributeGroup ref="in.attlist"/>
|
|
101
|
+
</xs:complexType>
|
|
102
|
+
|
|
103
|
+
<xs:element name="in" type="in.type"/>
|
|
104
|
+
|
|
105
|
+
<!-- "notin" -->
|
|
106
|
+
|
|
107
|
+
<xs:attributeGroup name="notin.attlist">
|
|
108
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
109
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
110
|
+
</xs:attributeGroup>
|
|
111
|
+
|
|
112
|
+
<xs:complexType name="notin.type">
|
|
113
|
+
<xs:attributeGroup ref="notin.attlist"/>
|
|
114
|
+
</xs:complexType>
|
|
115
|
+
|
|
116
|
+
<xs:element name="notin" type="notin.type"/>
|
|
117
|
+
|
|
118
|
+
<!-- "subset" -->
|
|
119
|
+
|
|
120
|
+
<xs:attributeGroup name="subset.attlist">
|
|
121
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
122
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
123
|
+
</xs:attributeGroup>
|
|
124
|
+
|
|
125
|
+
<xs:complexType name="subset.type">
|
|
126
|
+
<xs:attributeGroup ref="subset.attlist"/>
|
|
127
|
+
</xs:complexType>
|
|
128
|
+
|
|
129
|
+
<xs:element name="subset" type="subset.type"/>
|
|
130
|
+
|
|
131
|
+
<!-- "prsubset" -->
|
|
132
|
+
|
|
133
|
+
<xs:attributeGroup name="prsubset.attlist">
|
|
134
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
135
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
136
|
+
</xs:attributeGroup>
|
|
137
|
+
|
|
138
|
+
<xs:complexType name="prsubset.type">
|
|
139
|
+
<xs:attributeGroup ref="prsubset.attlist"/>
|
|
140
|
+
</xs:complexType>
|
|
141
|
+
|
|
142
|
+
<xs:element name="prsubset" type="prsubset.type"/>
|
|
143
|
+
|
|
144
|
+
<!-- "notsubset" -->
|
|
145
|
+
|
|
146
|
+
<xs:attributeGroup name="notsubset.attlist">
|
|
147
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
148
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
149
|
+
</xs:attributeGroup>
|
|
150
|
+
|
|
151
|
+
<xs:complexType name="notsubset.type">
|
|
152
|
+
<xs:attributeGroup ref="notsubset.attlist"/>
|
|
153
|
+
</xs:complexType>
|
|
154
|
+
|
|
155
|
+
<xs:element name="notsubset" type="notsubset.type"/>
|
|
156
|
+
|
|
157
|
+
<!-- "notprsubset" -->
|
|
158
|
+
|
|
159
|
+
<xs:attributeGroup name="notprsubset.attlist">
|
|
160
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
161
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
162
|
+
</xs:attributeGroup>
|
|
163
|
+
|
|
164
|
+
<xs:complexType name="notprsubset.type">
|
|
165
|
+
<xs:attributeGroup ref="notprsubset.attlist"/>
|
|
166
|
+
</xs:complexType>
|
|
167
|
+
|
|
168
|
+
<xs:element name="notprsubset" type="notprsubset.type"/>
|
|
169
|
+
|
|
170
|
+
<!-- "setdiff" -->
|
|
171
|
+
|
|
172
|
+
<xs:attributeGroup name="setdiff.attlist">
|
|
173
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
174
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
175
|
+
</xs:attributeGroup>
|
|
176
|
+
|
|
177
|
+
<xs:complexType name="setdiff.type">
|
|
178
|
+
<xs:attributeGroup ref="setdiff.attlist"/>
|
|
179
|
+
</xs:complexType>
|
|
180
|
+
|
|
181
|
+
<xs:element name="setdiff" type="setdiff.type"/>
|
|
182
|
+
|
|
183
|
+
<!-- "card" -->
|
|
184
|
+
|
|
185
|
+
<xs:attributeGroup name="card.attlist">
|
|
186
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
187
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
188
|
+
</xs:attributeGroup>
|
|
189
|
+
|
|
190
|
+
<xs:complexType name="card.type">
|
|
191
|
+
<xs:attributeGroup ref="card.attlist"/>
|
|
192
|
+
</xs:complexType>
|
|
193
|
+
|
|
194
|
+
<xs:element name="card" type="card.type"/>
|
|
195
|
+
|
|
196
|
+
<!-- "cartesianproduct" -->
|
|
197
|
+
|
|
198
|
+
<xs:attributeGroup name="cartesianproduct.attlist">
|
|
199
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
200
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
201
|
+
</xs:attributeGroup>
|
|
202
|
+
|
|
203
|
+
<xs:complexType name="cartesianproduct.type">
|
|
204
|
+
<xs:attributeGroup ref="cartesianproduct.attlist"/>
|
|
205
|
+
</xs:complexType>
|
|
206
|
+
|
|
207
|
+
<xs:element name="cartesianproduct" type="cartesianproduct.type"/>
|
|
208
|
+
|
|
209
|
+
<!-- And the group of everything -->
|
|
210
|
+
|
|
211
|
+
<xs:group name="Content-sets.class">
|
|
212
|
+
<xs:choice>
|
|
213
|
+
<xs:element ref="set"/>
|
|
214
|
+
<xs:element ref="list"/>
|
|
215
|
+
<xs:element ref="union"/>
|
|
216
|
+
<xs:element ref="intersect"/>
|
|
217
|
+
<xs:element ref="in"/>
|
|
218
|
+
<xs:element ref="notin"/>
|
|
219
|
+
<xs:element ref="subset"/>
|
|
220
|
+
<xs:element ref="prsubset"/>
|
|
221
|
+
<xs:element ref="notsubset"/>
|
|
222
|
+
<xs:element ref="notprsubset"/>
|
|
223
|
+
<xs:element ref="setdiff"/>
|
|
224
|
+
<xs:element ref="card"/>
|
|
225
|
+
<xs:element ref="cartesianproduct"/>
|
|
226
|
+
</xs:choice>
|
|
227
|
+
</xs:group>
|
|
228
|
+
|
|
229
|
+
</xs:schema>
|
|
230
|
+
|
|
231
|
+
<!--
|
|
232
|
+
Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
|
|
233
|
+
of Technology, Institut National de Recherche en Informatique et en
|
|
234
|
+
Automatique, Keio University). All Rights Reserved. See
|
|
235
|
+
http://www.w3.org/Consortium/Legal/.
|
|
236
|
+
-->
|
|
@@ -0,0 +1,136 @@
|
|
|
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 the statistical operators of content MathML.
|
|
13
|
+
Author: Stéphane Dalmas, INRIA.
|
|
14
|
+
</xs:documentation>
|
|
15
|
+
</xs:annotation>
|
|
16
|
+
|
|
17
|
+
<!-- "mean" -->
|
|
18
|
+
|
|
19
|
+
<xs:attributeGroup name="mean.attlist">
|
|
20
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
21
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
22
|
+
</xs:attributeGroup>
|
|
23
|
+
|
|
24
|
+
<xs:complexType name="mean.type">
|
|
25
|
+
<xs:attributeGroup ref="mean.attlist"/>
|
|
26
|
+
</xs:complexType>
|
|
27
|
+
|
|
28
|
+
<xs:element name="mean" type="mean.type"/>
|
|
29
|
+
|
|
30
|
+
<!-- "sdev" -->
|
|
31
|
+
|
|
32
|
+
<xs:attributeGroup name="sdev.attlist">
|
|
33
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
34
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
35
|
+
</xs:attributeGroup>
|
|
36
|
+
|
|
37
|
+
<xs:complexType name="sdev.type">
|
|
38
|
+
<xs:attributeGroup ref="sdev.attlist"/>
|
|
39
|
+
</xs:complexType>
|
|
40
|
+
|
|
41
|
+
<xs:element name="sdev" type="sdev.type"/>
|
|
42
|
+
|
|
43
|
+
<!-- "variance" -->
|
|
44
|
+
|
|
45
|
+
<xs:attributeGroup name="variance.attlist">
|
|
46
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
47
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
48
|
+
</xs:attributeGroup>
|
|
49
|
+
|
|
50
|
+
<xs:complexType name="variance.type">
|
|
51
|
+
<xs:attributeGroup ref="variance.attlist"/>
|
|
52
|
+
</xs:complexType>
|
|
53
|
+
|
|
54
|
+
<xs:element name="variance" type="variance.type"/>
|
|
55
|
+
|
|
56
|
+
<!-- "median" -->
|
|
57
|
+
|
|
58
|
+
<xs:attributeGroup name="median.attlist">
|
|
59
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
60
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
61
|
+
</xs:attributeGroup>
|
|
62
|
+
|
|
63
|
+
<xs:complexType name="median.type">
|
|
64
|
+
<xs:attributeGroup ref="median.attlist"/>
|
|
65
|
+
</xs:complexType>
|
|
66
|
+
|
|
67
|
+
<xs:element name="median" type="median.type"/>
|
|
68
|
+
|
|
69
|
+
<!-- "mode" -->
|
|
70
|
+
|
|
71
|
+
<xs:attributeGroup name="mode.attlist">
|
|
72
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
73
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
74
|
+
</xs:attributeGroup>
|
|
75
|
+
|
|
76
|
+
<xs:complexType name="mode.type">
|
|
77
|
+
<xs:attributeGroup ref="mode.attlist"/>
|
|
78
|
+
</xs:complexType>
|
|
79
|
+
|
|
80
|
+
<xs:element name="mode" type="mode.type"/>
|
|
81
|
+
|
|
82
|
+
<!-- "moment" -->
|
|
83
|
+
|
|
84
|
+
<xs:attributeGroup name="moment.attlist">
|
|
85
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
86
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
87
|
+
</xs:attributeGroup>
|
|
88
|
+
|
|
89
|
+
<xs:complexType name="moment.type">
|
|
90
|
+
<xs:attributeGroup ref="moment.attlist"/>
|
|
91
|
+
</xs:complexType>
|
|
92
|
+
|
|
93
|
+
<xs:element name="moment" type="moment.type"/>
|
|
94
|
+
|
|
95
|
+
<!-- "momentabout" -->
|
|
96
|
+
|
|
97
|
+
<xs:attributeGroup name="momentabout.attlist">
|
|
98
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
99
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
100
|
+
</xs:attributeGroup>
|
|
101
|
+
|
|
102
|
+
<xs:group name="momentabout.content">
|
|
103
|
+
<xs:sequence>
|
|
104
|
+
<xs:group ref="Content-expr.class"/>
|
|
105
|
+
</xs:sequence>
|
|
106
|
+
</xs:group>
|
|
107
|
+
|
|
108
|
+
<xs:complexType name="momentabout.type">
|
|
109
|
+
<xs:group ref="momentabout.content" minOccurs="1" maxOccurs="unbounded"/>
|
|
110
|
+
<xs:attributeGroup ref="momentabout.attlist"/>
|
|
111
|
+
</xs:complexType>
|
|
112
|
+
|
|
113
|
+
<xs:element name="momentabout" type="momentabout.type"/>
|
|
114
|
+
|
|
115
|
+
<!-- And the group of everything -->
|
|
116
|
+
|
|
117
|
+
<xs:group name="Content-statistics.class">
|
|
118
|
+
<xs:choice>
|
|
119
|
+
<xs:element ref="mean"/>
|
|
120
|
+
<xs:element ref="sdev"/>
|
|
121
|
+
<xs:element ref="variance"/>
|
|
122
|
+
<xs:element ref="median"/>
|
|
123
|
+
<xs:element ref="mode"/>
|
|
124
|
+
<xs:element ref="moment"/>
|
|
125
|
+
<xs:element ref="momentabout"/>
|
|
126
|
+
</xs:choice>
|
|
127
|
+
</xs:group>
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
</xs:schema>
|
|
131
|
+
<!--
|
|
132
|
+
Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
|
|
133
|
+
of Technology, Institut National de Recherche en Informatique et en
|
|
134
|
+
Automatique, Keio University). All Rights Reserved. See
|
|
135
|
+
http://www.w3.org/Consortium/Legal/.
|
|
136
|
+
-->
|
|
@@ -0,0 +1,120 @@
|
|
|
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
|
+
content part of MathML.
|
|
14
|
+
Author: Stéphane Dalmas, INRIA.
|
|
15
|
+
</xs:documentation>
|
|
16
|
+
</xs:annotation>
|
|
17
|
+
|
|
18
|
+
<!-- common content for the token elements -->
|
|
19
|
+
|
|
20
|
+
<xs:group name="Content-token.content">
|
|
21
|
+
<xs:sequence>
|
|
22
|
+
<xs:group ref="Presentation-expr.class"/>
|
|
23
|
+
</xs:sequence>
|
|
24
|
+
</xs:group>
|
|
25
|
+
|
|
26
|
+
<!-- "cn" -->
|
|
27
|
+
|
|
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>
|
|
53
|
+
|
|
54
|
+
<!-- the content of "cn" may have <sep> elements in it -->
|
|
55
|
+
|
|
56
|
+
<xs:complexType name="sep.type">
|
|
57
|
+
</xs:complexType>
|
|
58
|
+
|
|
59
|
+
<xs:element name="sep" type="sep.type"/>
|
|
60
|
+
|
|
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>
|
|
67
|
+
|
|
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>
|
|
72
|
+
|
|
73
|
+
<xs:element name="cn" type="cn.type"/>
|
|
74
|
+
|
|
75
|
+
<!-- "ci" -->
|
|
76
|
+
|
|
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>
|
|
82
|
+
|
|
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>
|
|
87
|
+
|
|
88
|
+
<xs:element name="ci" type="ci.type"/>
|
|
89
|
+
|
|
90
|
+
<!-- "csymbol" -->
|
|
91
|
+
|
|
92
|
+
<xs:attributeGroup name="csymbol.attlist">
|
|
93
|
+
<xs:attributeGroup ref="Definition.attrib"/>
|
|
94
|
+
<xs:attributeGroup ref="Common.attrib"/>
|
|
95
|
+
</xs:attributeGroup>
|
|
96
|
+
|
|
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>
|
|
101
|
+
|
|
102
|
+
<xs:element name="csymbol" type="csymbol.type"/>
|
|
103
|
+
|
|
104
|
+
<!-- And the group of everything -->
|
|
105
|
+
|
|
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>
|
|
113
|
+
|
|
114
|
+
</xs:schema>
|
|
115
|
+
<!--
|
|
116
|
+
Copyright û 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/.
|
|
120
|
+
-->
|