cirneco 0.9.16 → 0.9.17

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.
Files changed (94) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile.lock +70 -67
  3. data/cirneco.gemspec +3 -3
  4. data/lib/cirneco/data_center.rb +0 -2
  5. data/lib/cirneco/doi.rb +2 -90
  6. data/lib/cirneco/media.rb +1 -3
  7. data/lib/cirneco/metadata.rb +0 -2
  8. data/lib/cirneco/utils.rb +3 -3
  9. data/lib/cirneco/version.rb +1 -1
  10. data/lib/cirneco/work.rb +0 -2
  11. data/spec/api_spec.rb +8 -7
  12. data/spec/doi_spec.rb +4 -63
  13. data/spec/fixtures/vcr_cassettes/Cirneco_Work/media/includes_media.yml +42 -56
  14. data/spec/fixtures/vcr_cassettes/Cirneco_Work/schema/BlogPosting.yml +42 -56
  15. data/spec/utils_spec.rb +9 -10
  16. data/spec/work_spec.rb +2 -2
  17. metadata +10 -93
  18. data/data/authors.yml +0 -0
  19. data/data/references.yaml +0 -0
  20. data/data/site.yml +0 -0
  21. data/lib/cirneco/file_utils.rb +0 -371
  22. data/resources/jats-1.1/JATS-journalpublishing1-elements.xsd +0 -8608
  23. data/resources/jats-1.1/JATS-journalpublishing1-mathml3-elements.xsd +0 -8608
  24. data/resources/jats-1.1/JATS-journalpublishing1-mathml3.xsd +0 -48
  25. data/resources/jats-1.1/JATS-journalpublishing1.xsd +0 -59
  26. data/resources/jats-1.1/module-ali.xsd +0 -46
  27. data/resources/jats-1.1/standard-modules/mathml2/common/common-attribs.xsd +0 -44
  28. data/resources/jats-1.1/standard-modules/mathml2/common/math.xsd +0 -126
  29. data/resources/jats-1.1/standard-modules/mathml2/common/xlink-href.xsd +0 -20
  30. data/resources/jats-1.1/standard-modules/mathml2/content/arith.xsd +0 -90
  31. data/resources/jats-1.1/standard-modules/mathml2/content/calculus.xsd +0 -146
  32. data/resources/jats-1.1/standard-modules/mathml2/content/common-attrib.xsd +0 -30
  33. data/resources/jats-1.1/standard-modules/mathml2/content/constants.xsd +0 -83
  34. data/resources/jats-1.1/standard-modules/mathml2/content/constructs.xsd +0 -260
  35. data/resources/jats-1.1/standard-modules/mathml2/content/elementary-functions.xsd +0 -117
  36. data/resources/jats-1.1/standard-modules/mathml2/content/functions.xsd +0 -73
  37. data/resources/jats-1.1/standard-modules/mathml2/content/linear-algebra.xsd +0 -173
  38. data/resources/jats-1.1/standard-modules/mathml2/content/logic.xsd +0 -53
  39. data/resources/jats-1.1/standard-modules/mathml2/content/relations.xsd +0 -55
  40. data/resources/jats-1.1/standard-modules/mathml2/content/semantics.xsd +0 -85
  41. data/resources/jats-1.1/standard-modules/mathml2/content/sets.xsd +0 -236
  42. data/resources/jats-1.1/standard-modules/mathml2/content/statistics.xsd +0 -136
  43. data/resources/jats-1.1/standard-modules/mathml2/content/tokens.xsd +0 -120
  44. data/resources/jats-1.1/standard-modules/mathml2/content/vector-calculus.xsd +0 -88
  45. data/resources/jats-1.1/standard-modules/mathml2/content/zzz.tokens.xsd.from.zip +0 -120
  46. data/resources/jats-1.1/standard-modules/mathml2/mathml2.xsd +0 -59
  47. data/resources/jats-1.1/standard-modules/mathml2/presentation/action.xsd +0 -44
  48. data/resources/jats-1.1/standard-modules/mathml2/presentation/characters.xsd +0 -37
  49. data/resources/jats-1.1/standard-modules/mathml2/presentation/common-attribs.xsd +0 -113
  50. data/resources/jats-1.1/standard-modules/mathml2/presentation/common-types.xsd +0 -103
  51. data/resources/jats-1.1/standard-modules/mathml2/presentation/error.xsd +0 -40
  52. data/resources/jats-1.1/standard-modules/mathml2/presentation/layout.xsd +0 -195
  53. data/resources/jats-1.1/standard-modules/mathml2/presentation/scripts.xsd +0 -186
  54. data/resources/jats-1.1/standard-modules/mathml2/presentation/space.xsd +0 -52
  55. data/resources/jats-1.1/standard-modules/mathml2/presentation/style.xsd +0 -69
  56. data/resources/jats-1.1/standard-modules/mathml2/presentation/table.xsd +0 -216
  57. data/resources/jats-1.1/standard-modules/mathml2/presentation/tokens.xsd +0 -124
  58. data/resources/jats-1.1/standard-modules/xlink.xsd +0 -100
  59. data/resources/jats-1.1/standard-modules/xml.xsd +0 -287
  60. data/spec/file_utils_spec.rb +0 -203
  61. data/spec/fixtures/apa.csl +0 -621
  62. data/spec/fixtures/authors.yml +0 -19
  63. data/spec/fixtures/cool-dois/index.html +0 -404
  64. data/spec/fixtures/cool-dois-minted/index.html +0 -359
  65. data/spec/fixtures/cool-dois-minted.html.md +0 -99
  66. data/spec/fixtures/cool-dois-missing-metadata/index.html +0 -356
  67. data/spec/fixtures/cool-dois-no-accession-number.html.md +0 -97
  68. data/spec/fixtures/cool-dois-no-json-ld/index.html +0 -352
  69. data/spec/fixtures/cool-dois.html.md +0 -100
  70. data/spec/fixtures/cool-dois.yml +0 -10
  71. data/spec/fixtures/index-minted.html +0 -271
  72. data/spec/fixtures/index.html +0 -320
  73. data/spec/fixtures/index.html.erb +0 -42
  74. data/spec/fixtures/references.bib +0 -506
  75. data/spec/fixtures/references.yaml +0 -1060
  76. data/spec/fixtures/site.yml +0 -8
  77. data/spec/fixtures/vcr_cassettes/Cirneco_DataCenter/jats/should_generate_jats_for_all_urls.yml +0 -38
  78. data/spec/fixtures/vcr_cassettes/Cirneco_DataCenter/mint_and_hide_DOIs/should_hide_for_all_urls.yml +0 -38
  79. data/spec/fixtures/vcr_cassettes/Cirneco_DataCenter/mint_and_hide_DOIs/should_mint_and_hide_for_all_urls.yml +0 -38
  80. data/spec/fixtures/vcr_cassettes/Cirneco_DataCenter/mint_and_hide_DOIs/should_mint_for_all_urls.yml +0 -38
  81. data/spec/fixtures/vcr_cassettes/Cirneco_Doi/jats/writes_jats_for_list_of_urls.yml +0 -38
  82. data/spec/fixtures/vcr_cassettes/Cirneco_Doi/mint_and_hide_DOIs/hides_dois_for_list_of_urls.yml +0 -38
  83. data/spec/fixtures/vcr_cassettes/Cirneco_Doi/mint_and_hide_DOIs/mints_and_hides_dois_for_list_of_urls.yml +0 -38
  84. data/spec/fixtures/vcr_cassettes/Cirneco_Doi/mint_and_hide_DOIs/mints_dois_for_list_of_urls.yml +0 -38
  85. data/spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/get/should_get_all_dois.yml +0 -121
  86. data/spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/get/should_get_doi.yml +0 -121
  87. data/spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/get/should_get_doi_not_found.yml +0 -121
  88. data/spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/get/username_missing.yml +0 -121
  89. data/spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/put/should_put_doi.yml +0 -121
  90. data/spec/fixtures/vcr_cassettes/Cirneco_Work/Media_API/get/should_get_media.yml +0 -121
  91. data/spec/fixtures/vcr_cassettes/Cirneco_Work/Media_API/post/should_post_media.yml +0 -121
  92. data/spec/fixtures/vcr_cassettes/Cirneco_Work/Metadata_API/delete/should_delete_metadata.yml +0 -121
  93. data/spec/fixtures/vcr_cassettes/Cirneco_Work/Metadata_API/get/should_get_metadata.yml +0 -121
  94. data/spec/fixtures/vcr_cassettes/Cirneco_Work/Metadata_API/post/should_post_metadata.yml +0 -121
@@ -1,136 +0,0 @@
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&#233;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 &#251; 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
- -->
@@ -1,120 +0,0 @@
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&#233;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 &#251; 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
- -->
@@ -1,88 +0,0 @@
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 vector calculs operators of content
13
- MathML.
14
- Author: St&#233;phane Dalmas, INRIA.
15
- </xs:documentation>
16
- </xs:annotation>
17
-
18
- <!-- "divergence" -->
19
-
20
- <xs:attributeGroup name="divergence.attlist">
21
- <xs:attributeGroup ref="Definition.attrib"/>
22
- <xs:attributeGroup ref="Common.attrib"/>
23
- </xs:attributeGroup>
24
-
25
- <xs:complexType name="divergence.type">
26
- <xs:attributeGroup ref="divergence.attlist"/>
27
- </xs:complexType>
28
-
29
- <xs:element name="divergence" type="divergence.type"/>
30
-
31
- <!-- "grad" -->
32
-
33
- <xs:attributeGroup name="grad.attlist">
34
- <xs:attributeGroup ref="Definition.attrib"/>
35
- <xs:attributeGroup ref="Common.attrib"/>
36
- </xs:attributeGroup>
37
-
38
- <xs:complexType name="grad.type">
39
- <xs:attributeGroup ref="grad.attlist"/>
40
- </xs:complexType>
41
-
42
- <xs:element name="grad" type="grad.type"/>
43
-
44
- <!-- "curl" -->
45
-
46
- <xs:attributeGroup name="curl.attlist">
47
- <xs:attributeGroup ref="Definition.attrib"/>
48
- <xs:attributeGroup ref="Common.attrib"/>
49
- </xs:attributeGroup>
50
-
51
- <xs:complexType name="curl.type">
52
- <xs:attributeGroup ref="curl.attlist"/>
53
- </xs:complexType>
54
-
55
- <xs:element name="curl" type="curl.type"/>
56
-
57
- <!-- "laplacian" -->
58
-
59
- <xs:attributeGroup name="laplacian.attlist">
60
- <xs:attributeGroup ref="Definition.attrib"/>
61
- <xs:attributeGroup ref="Common.attrib"/>
62
- </xs:attributeGroup>
63
-
64
- <xs:complexType name="laplacian.type">
65
- <xs:attributeGroup ref="laplacian.attlist"/>
66
- </xs:complexType>
67
-
68
- <xs:element name="laplacian" type="laplacian.type"/>
69
-
70
- <!-- And the group of everything -->
71
-
72
- <xs:group name="Content-vector-calculus.class">
73
- <xs:choice>
74
- <xs:element ref="divergence"/>
75
- <xs:element ref="grad"/>
76
- <xs:element ref="curl"/>
77
- <xs:element ref="laplacian"/>
78
- </xs:choice>
79
- </xs:group>
80
-
81
-
82
- </xs:schema>
83
- <!--
84
- Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
85
- of Technology, Institut National de Recherche en Informatique et en
86
- Automatique, Keio University). All Rights Reserved. See
87
- http://www.w3.org/Consortium/Legal/.
88
- -->
@@ -1,120 +0,0 @@
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&#233;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 &#251; 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
- -->
@@ -1,59 +0,0 @@
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
- <xs:annotation>
10
- <xs:documentation>
11
- This is an XML Schema for MathML.
12
- Author: St&#233;phane Dalmas, INRIA.
13
- </xs:documentation>
14
- </xs:annotation>
15
-
16
- <!-- common stuff -->
17
-
18
- <xs:include schemaLocation="common/math.xsd"/>
19
- <xs:include schemaLocation="common/common-attribs.xsd"/>
20
-
21
- <!-- Presentation -->
22
- <xs:include schemaLocation="presentation/common-types.xsd"/>
23
- <xs:include schemaLocation="presentation/common-attribs.xsd"/>
24
- <xs:include schemaLocation="presentation/characters.xsd"/>
25
- <xs:include schemaLocation="presentation/tokens.xsd"/>
26
- <xs:include schemaLocation="presentation/scripts.xsd"/>
27
- <xs:include schemaLocation="presentation/space.xsd"/>
28
- <xs:include schemaLocation="presentation/layout.xsd"/>
29
- <xs:include schemaLocation="presentation/table.xsd"/>
30
- <xs:include schemaLocation="presentation/style.xsd"/>
31
- <xs:include schemaLocation="presentation/error.xsd"/>
32
- <xs:include schemaLocation="presentation/action.xsd"/>
33
-
34
- <!-- Content -->
35
-
36
- <xs:include schemaLocation="content/common-attrib.xsd"/>
37
- <xs:include schemaLocation="content/tokens.xsd"/>
38
- <xs:include schemaLocation="content/arith.xsd"/>
39
- <xs:include schemaLocation="content/functions.xsd"/>
40
- <xs:include schemaLocation="content/logic.xsd"/>
41
- <xs:include schemaLocation="content/constructs.xsd"/>
42
- <xs:include schemaLocation="content/constants.xsd"/>
43
- <xs:include schemaLocation="content/elementary-functions.xsd"/>
44
- <xs:include schemaLocation="content/relations.xsd"/>
45
- <xs:include schemaLocation="content/semantics.xsd"/>
46
- <xs:include schemaLocation="content/sets.xsd"/>
47
- <xs:include schemaLocation="content/linear-algebra.xsd"/>
48
- <xs:include schemaLocation="content/calculus.xsd"/>
49
- <xs:include schemaLocation="content/vector-calculus.xsd"/>
50
- <xs:include schemaLocation="content/statistics.xsd"/>
51
-
52
-
53
- </xs:schema>
54
- <!--
55
- Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
56
- of Technology, Institut National de Recherche en Informatique et en
57
- Automatique, Keio University). All Rights Reserved. See
58
- http://www.w3.org/Consortium/Legal/.
59
- -->
@@ -1,44 +0,0 @@
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 "maction" element.
13
- Author: St&#233;phane Dalmas, INRIA.
14
- </xs:documentation>
15
- </xs:annotation>
16
-
17
- <xs:attributeGroup name="maction.attlist">
18
- <xs:attribute name="actiontype" type="xs:string" use="required"/>
19
- <xs:attribute name="selection" type="xs:positiveInteger" default="1"/>
20
- <xs:attributeGroup ref="Common.attrib"/>
21
- </xs:attributeGroup>
22
-
23
- <xs:group name="maction.content">
24
- <xs:sequence>
25
- <xs:group ref="Presentation-expr.class"/>
26
- </xs:sequence>
27
- </xs:group>
28
-
29
- <xs:complexType name="maction.type">
30
- <xs:group ref="maction.content" minOccurs="1" maxOccurs="unbounded"/>
31
- <xs:attributeGroup ref="maction.attlist"/>
32
- </xs:complexType>
33
-
34
- <xs:element name="maction" type="maction.type"/>
35
-
36
- </xs:schema>
37
-
38
-
39
- <!--
40
- Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
41
- of Technology, Institut National de Recherche en Informatique et en
42
- Automatique, Keio University). All Rights Reserved. See
43
- http://www.w3.org/Consortium/Legal/.
44
- -->
@@ -1,37 +0,0 @@
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 "mglyph" element.
13
- Author: St&#233;phane Dalmas, INRIA.
14
- </xs:documentation>
15
- </xs:annotation>
16
-
17
- <xs:attributeGroup name="mglyph.attlist">
18
- <xs:attribute name="alt" type="xs:string"/>
19
- <xs:attribute name="fontfamily" type="xs:string"/>
20
- <xs:attribute name="index" type="xs:positiveInteger"/>
21
- </xs:attributeGroup>
22
-
23
- <xs:complexType name="mglyph.type">
24
- <xs:attributeGroup ref="mglyph.attlist"/>
25
- </xs:complexType>
26
-
27
- <xs:element name="mglyph" type="mglyph.type"/>
28
-
29
- </xs:schema>
30
-
31
-
32
- <!--
33
- Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
34
- of Technology, Institut National de Recherche en Informatique et en
35
- Automatique, Keio University). All Rights Reserved. See
36
- http://www.w3.org/Consortium/Legal/.
37
- -->