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.
- checksums.yaml +5 -5
- data/Gemfile.lock +70 -67
- data/cirneco.gemspec +3 -3
- data/lib/cirneco/data_center.rb +0 -2
- data/lib/cirneco/doi.rb +2 -90
- data/lib/cirneco/media.rb +1 -3
- data/lib/cirneco/metadata.rb +0 -2
- data/lib/cirneco/utils.rb +3 -3
- data/lib/cirneco/version.rb +1 -1
- data/lib/cirneco/work.rb +0 -2
- data/spec/api_spec.rb +8 -7
- data/spec/doi_spec.rb +4 -63
- data/spec/fixtures/vcr_cassettes/Cirneco_Work/media/includes_media.yml +42 -56
- data/spec/fixtures/vcr_cassettes/Cirneco_Work/schema/BlogPosting.yml +42 -56
- data/spec/utils_spec.rb +9 -10
- data/spec/work_spec.rb +2 -2
- metadata +10 -93
- data/data/authors.yml +0 -0
- data/data/references.yaml +0 -0
- data/data/site.yml +0 -0
- data/lib/cirneco/file_utils.rb +0 -371
- data/resources/jats-1.1/JATS-journalpublishing1-elements.xsd +0 -8608
- data/resources/jats-1.1/JATS-journalpublishing1-mathml3-elements.xsd +0 -8608
- data/resources/jats-1.1/JATS-journalpublishing1-mathml3.xsd +0 -48
- data/resources/jats-1.1/JATS-journalpublishing1.xsd +0 -59
- data/resources/jats-1.1/module-ali.xsd +0 -46
- data/resources/jats-1.1/standard-modules/mathml2/common/common-attribs.xsd +0 -44
- data/resources/jats-1.1/standard-modules/mathml2/common/math.xsd +0 -126
- data/resources/jats-1.1/standard-modules/mathml2/common/xlink-href.xsd +0 -20
- data/resources/jats-1.1/standard-modules/mathml2/content/arith.xsd +0 -90
- data/resources/jats-1.1/standard-modules/mathml2/content/calculus.xsd +0 -146
- data/resources/jats-1.1/standard-modules/mathml2/content/common-attrib.xsd +0 -30
- data/resources/jats-1.1/standard-modules/mathml2/content/constants.xsd +0 -83
- data/resources/jats-1.1/standard-modules/mathml2/content/constructs.xsd +0 -260
- data/resources/jats-1.1/standard-modules/mathml2/content/elementary-functions.xsd +0 -117
- data/resources/jats-1.1/standard-modules/mathml2/content/functions.xsd +0 -73
- data/resources/jats-1.1/standard-modules/mathml2/content/linear-algebra.xsd +0 -173
- data/resources/jats-1.1/standard-modules/mathml2/content/logic.xsd +0 -53
- data/resources/jats-1.1/standard-modules/mathml2/content/relations.xsd +0 -55
- data/resources/jats-1.1/standard-modules/mathml2/content/semantics.xsd +0 -85
- data/resources/jats-1.1/standard-modules/mathml2/content/sets.xsd +0 -236
- data/resources/jats-1.1/standard-modules/mathml2/content/statistics.xsd +0 -136
- data/resources/jats-1.1/standard-modules/mathml2/content/tokens.xsd +0 -120
- data/resources/jats-1.1/standard-modules/mathml2/content/vector-calculus.xsd +0 -88
- data/resources/jats-1.1/standard-modules/mathml2/content/zzz.tokens.xsd.from.zip +0 -120
- data/resources/jats-1.1/standard-modules/mathml2/mathml2.xsd +0 -59
- data/resources/jats-1.1/standard-modules/mathml2/presentation/action.xsd +0 -44
- data/resources/jats-1.1/standard-modules/mathml2/presentation/characters.xsd +0 -37
- data/resources/jats-1.1/standard-modules/mathml2/presentation/common-attribs.xsd +0 -113
- data/resources/jats-1.1/standard-modules/mathml2/presentation/common-types.xsd +0 -103
- data/resources/jats-1.1/standard-modules/mathml2/presentation/error.xsd +0 -40
- data/resources/jats-1.1/standard-modules/mathml2/presentation/layout.xsd +0 -195
- data/resources/jats-1.1/standard-modules/mathml2/presentation/scripts.xsd +0 -186
- data/resources/jats-1.1/standard-modules/mathml2/presentation/space.xsd +0 -52
- data/resources/jats-1.1/standard-modules/mathml2/presentation/style.xsd +0 -69
- data/resources/jats-1.1/standard-modules/mathml2/presentation/table.xsd +0 -216
- data/resources/jats-1.1/standard-modules/mathml2/presentation/tokens.xsd +0 -124
- data/resources/jats-1.1/standard-modules/xlink.xsd +0 -100
- data/resources/jats-1.1/standard-modules/xml.xsd +0 -287
- data/spec/file_utils_spec.rb +0 -203
- data/spec/fixtures/apa.csl +0 -621
- data/spec/fixtures/authors.yml +0 -19
- data/spec/fixtures/cool-dois/index.html +0 -404
- data/spec/fixtures/cool-dois-minted/index.html +0 -359
- data/spec/fixtures/cool-dois-minted.html.md +0 -99
- data/spec/fixtures/cool-dois-missing-metadata/index.html +0 -356
- data/spec/fixtures/cool-dois-no-accession-number.html.md +0 -97
- data/spec/fixtures/cool-dois-no-json-ld/index.html +0 -352
- data/spec/fixtures/cool-dois.html.md +0 -100
- data/spec/fixtures/cool-dois.yml +0 -10
- data/spec/fixtures/index-minted.html +0 -271
- data/spec/fixtures/index.html +0 -320
- data/spec/fixtures/index.html.erb +0 -42
- data/spec/fixtures/references.bib +0 -506
- data/spec/fixtures/references.yaml +0 -1060
- data/spec/fixtures/site.yml +0 -8
- data/spec/fixtures/vcr_cassettes/Cirneco_DataCenter/jats/should_generate_jats_for_all_urls.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Cirneco_DataCenter/mint_and_hide_DOIs/should_hide_for_all_urls.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Cirneco_DataCenter/mint_and_hide_DOIs/should_mint_and_hide_for_all_urls.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Cirneco_DataCenter/mint_and_hide_DOIs/should_mint_for_all_urls.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Cirneco_Doi/jats/writes_jats_for_list_of_urls.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Cirneco_Doi/mint_and_hide_DOIs/hides_dois_for_list_of_urls.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Cirneco_Doi/mint_and_hide_DOIs/mints_and_hides_dois_for_list_of_urls.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Cirneco_Doi/mint_and_hide_DOIs/mints_dois_for_list_of_urls.yml +0 -38
- data/spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/get/should_get_all_dois.yml +0 -121
- data/spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/get/should_get_doi.yml +0 -121
- data/spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/get/should_get_doi_not_found.yml +0 -121
- data/spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/get/username_missing.yml +0 -121
- data/spec/fixtures/vcr_cassettes/Cirneco_Work/DOI_API/put/should_put_doi.yml +0 -121
- data/spec/fixtures/vcr_cassettes/Cirneco_Work/Media_API/get/should_get_media.yml +0 -121
- data/spec/fixtures/vcr_cassettes/Cirneco_Work/Media_API/post/should_post_media.yml +0 -121
- data/spec/fixtures/vcr_cassettes/Cirneco_Work/Metadata_API/delete/should_delete_metadata.yml +0 -121
- data/spec/fixtures/vcr_cassettes/Cirneco_Work/Metadata_API/get/should_get_metadata.yml +0 -121
- data/spec/fixtures/vcr_cassettes/Cirneco_Work/Metadata_API/post/should_post_metadata.yml +0 -121
@@ -1,48 +0,0 @@
|
|
1
|
-
<?xml-stylesheet href="xsd.xsl" type="text/xsl"?>
|
2
|
-
<xsd:schema xmlns:mtl="http://www.mulberrytech.com/taglib"
|
3
|
-
xmlns:c="http://www.w3.org/ns/xproc-step"
|
4
|
-
xmlns:mml="http://www.w3.org/1998/Math/MathML"
|
5
|
-
xmlns:ali="http://www.niso.org/schemas/ali/1.0/"
|
6
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
7
|
-
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
8
|
-
<xsd:annotation>
|
9
|
-
<xsd:documentation>
|
10
|
-
<div xmlns="http://www.w3.org/1999/xhtml"
|
11
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
12
|
-
xmlns:dxdy="http://mulberrytech.com/2014/dxdy"
|
13
|
-
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
|
14
|
-
class="bodytext">
|
15
|
-
<h1>MODULE: JATS-journalpublishing1-mathml3 DTD in XSD form (driver file)</h1>
|
16
|
-
<h2>MODEL: Journal Publishing DTD (MathML 3.0)</h2>
|
17
|
-
<h2>VERSION: 1.1</h2>
|
18
|
-
<h2>DATE: December 2015</h2>
|
19
|
-
|
20
|
-
<dl>
|
21
|
-
<dt>SYSTEM</dt>
|
22
|
-
<dd>
|
23
|
-
<p>Journal Publishing model of the JATS Suite</p>
|
24
|
-
</dd>
|
25
|
-
<dt>PURPOSE</dt>
|
26
|
-
<dd>
|
27
|
-
<p>Driver file: include and import all other schema documents</p>
|
28
|
-
</dd>
|
29
|
-
<dt>CREATED FOR</dt>
|
30
|
-
<dd>
|
31
|
-
<p>NLM/NCBI</p>
|
32
|
-
</dd>
|
33
|
-
|
34
|
-
</dl>
|
35
|
-
</div>
|
36
|
-
</xsd:documentation>
|
37
|
-
</xsd:annotation>
|
38
|
-
<xsd:import namespace="http://www.w3.org/1999/xlink"
|
39
|
-
schemaLocation="standard-modules/xlink.xsd"/>
|
40
|
-
<xsd:import namespace="http://www.w3.org/1998/Math/MathML"
|
41
|
-
schemaLocation="standard-modules/mathml3/mathml3.xsd"/>
|
42
|
-
<xsd:import namespace="http://www.niso.org/schemas/ali/1.0/"
|
43
|
-
schemaLocation="module-ali.xsd"/>
|
44
|
-
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"
|
45
|
-
schemaLocation="standard-modules/xml.xsd"/>
|
46
|
-
<xsd:include schemaLocation="JATS-journalpublishing1-mathml3-elements.xsd"/>
|
47
|
-
</xsd:schema>
|
48
|
-
|
@@ -1,59 +0,0 @@
|
|
1
|
-
<?xml-stylesheet href="xsd.xsl" type="text/xsl"?>
|
2
|
-
<xsd:schema xmlns:mtl="http://www.mulberrytech.com/taglib"
|
3
|
-
xmlns:c="http://www.w3.org/ns/xproc-step"
|
4
|
-
xmlns:mml="http://www.w3.org/1998/Math/MathML"
|
5
|
-
xmlns:ali="http://www.niso.org/schemas/ali/1.0/"
|
6
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
7
|
-
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
8
|
-
<xsd:annotation>
|
9
|
-
<xsd:documentation>
|
10
|
-
<div xmlns="http://www.w3.org/1999/xhtml"
|
11
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
12
|
-
xmlns:dxdy="http://mulberrytech.com/2014/dxdy"
|
13
|
-
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
|
14
|
-
class="bodytext">
|
15
|
-
<h1>MODULE: JATS-journalpublishing1 DTD in XSD form (driver file)</h1>
|
16
|
-
<h2>MODEL: Journal Publishing DTD (MathML 2.0)</h2>
|
17
|
-
<h2>VERSION: 1.1</h2>
|
18
|
-
<h2>DATE: December 2015</h2>
|
19
|
-
|
20
|
-
<dl>
|
21
|
-
<dt>SYSTEM</dt>
|
22
|
-
<dd>
|
23
|
-
<p>Journal Archiving and Interchange model of the JATS Suite</p>
|
24
|
-
</dd>
|
25
|
-
<dt>PURPOSE</dt>
|
26
|
-
<dd>
|
27
|
-
<p>Driver file: include and import all other schema documents</p>
|
28
|
-
</dd>
|
29
|
-
<dt>CREATED FOR</dt>
|
30
|
-
<dd>
|
31
|
-
<p>NLM/NCBI</p>
|
32
|
-
</dd>
|
33
|
-
|
34
|
-
</dl>
|
35
|
-
</div>
|
36
|
-
</xsd:documentation>
|
37
|
-
</xsd:annotation>
|
38
|
-
<xsd:import namespace="http://www.w3.org/1999/xlink"
|
39
|
-
schemaLocation="standard-modules/xlink.xsd"/>
|
40
|
-
<xsd:import namespace="http://www.w3.org/1998/Math/MathML"
|
41
|
-
schemaLocation="standard-modules/mathml2/mathml2.xsd">
|
42
|
-
<xsd:annotation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
43
|
-
xmlns:dxdy="http://mulberrytech.com/2014/dxdy">
|
44
|
-
<xsd:documentation>
|
45
|
-
This is a modified copy of the MathML 2 schema documents
|
46
|
-
at http://www.w3.org/Math/XMLSchema/mathml2.tgz
|
47
|
-
-- an explicit reference to an incomplete copy of the
|
48
|
-
XLink schema document has been suppressed to avoid
|
49
|
-
conflicts with the full XLink schema document.
|
50
|
-
</xsd:documentation>
|
51
|
-
</xsd:annotation>
|
52
|
-
</xsd:import>
|
53
|
-
<xsd:import namespace="http://www.niso.org/schemas/ali/1.0/"
|
54
|
-
schemaLocation="module-ali.xsd"/>
|
55
|
-
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"
|
56
|
-
schemaLocation="standard-modules/xml.xsd"/>
|
57
|
-
<xsd:include schemaLocation="JATS-journalpublishing1-elements.xsd"/>
|
58
|
-
</xsd:schema>
|
59
|
-
|
@@ -1,46 +0,0 @@
|
|
1
|
-
<?xml-stylesheet href="xsd.xsl" type="text/xsl"?>
|
2
|
-
<xsd:schema xmlns:mtl="http://www.mulberrytech.com/taglib"
|
3
|
-
xmlns:c="http://www.w3.org/ns/xproc-step"
|
4
|
-
xmlns:ali="http://www.niso.org/schemas/ali/1.0/"
|
5
|
-
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
6
|
-
targetNamespace="http://www.niso.org/schemas/ali/1.0/"><!--* Allow references to unqualified names *-->
|
7
|
-
<xsd:import/>
|
8
|
-
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
|
9
|
-
<!--* Some imports may need to be added manually *-->
|
10
|
-
<xsd:element name="free_to_read">
|
11
|
-
<xsd:annotation>
|
12
|
-
<xsd:documentation>
|
13
|
-
<div xmlns="http://www.w3.org/1999/xhtml">
|
14
|
-
<h3>Free to Read (Niso Ali)</h3>
|
15
|
-
</div>
|
16
|
-
</xsd:documentation>
|
17
|
-
</xsd:annotation>
|
18
|
-
<xsd:complexType>
|
19
|
-
<xsd:attribute name="content-type" use="optional" type="xsd:string"/>
|
20
|
-
<xsd:attribute name="end_date" use="optional" type="xsd:string"/>
|
21
|
-
<xsd:attribute name="id" use="optional" type="xsd:ID"/>
|
22
|
-
<xsd:attribute name="specific-use" use="optional" type="xsd:string"/>
|
23
|
-
<xsd:attribute name="start_date" use="optional" type="xsd:string"/>
|
24
|
-
<xsd:attribute ref="xml:base" use="optional"/>
|
25
|
-
</xsd:complexType>
|
26
|
-
</xsd:element>
|
27
|
-
<xsd:element name="license_ref">
|
28
|
-
<xsd:annotation>
|
29
|
-
<xsd:documentation>
|
30
|
-
<div xmlns="http://www.w3.org/1999/xhtml">
|
31
|
-
<h3>License Reference (Niso Ali)</h3>
|
32
|
-
</div>
|
33
|
-
</xsd:documentation>
|
34
|
-
</xsd:annotation>
|
35
|
-
<xsd:complexType mixed="true">
|
36
|
-
<xsd:group ref="license-ref-model"/>
|
37
|
-
<xsd:attribute name="content-type" use="optional" type="xsd:string"/>
|
38
|
-
<xsd:attribute name="id" use="optional" type="xsd:ID"/>
|
39
|
-
<xsd:attribute name="specific-use" use="optional" type="xsd:string"/>
|
40
|
-
<xsd:attribute name="start_date" use="optional" type="xsd:string"/>
|
41
|
-
<xsd:attribute ref="xml:base" use="optional"/>
|
42
|
-
</xsd:complexType>
|
43
|
-
</xsd:element>
|
44
|
-
<xsd:annotation/>
|
45
|
-
</xsd:schema>
|
46
|
-
|
@@ -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
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
7
|
-
targetNamespace="http://www.w3.org/1998/Math/MathML"
|
8
|
-
elementFormDefault="qualified"
|
9
|
-
>
|
10
|
-
|
11
|
-
<xs:annotation>
|
12
|
-
<xs:documentation>
|
13
|
-
This is the common attributes module for MathML.
|
14
|
-
Author: Stéphane Dalmas, INRIA.
|
15
|
-
</xs:documentation>
|
16
|
-
</xs:annotation>
|
17
|
-
|
18
|
-
<!--* Modified 2014-01-21 by CMSMcQ: suppress schemaLocation hint.
|
19
|
-
* It interferes with the use of the full XLink schema.
|
20
|
-
*-->
|
21
|
-
<!--* <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink-href.xsd"/> *-->
|
22
|
-
<xs:import namespace="http://www.w3.org/1999/xlink"/>
|
23
|
-
<xs:import/> <!-- import any foreign namespace -->
|
24
|
-
|
25
|
-
|
26
|
-
<!-- The type of "class" is from the XHTML modularization with Schema
|
27
|
-
document -->
|
28
|
-
<xs:attributeGroup name="Common.attrib">
|
29
|
-
<xs:attribute name="class" type="xs:NMTOKENS"/>
|
30
|
-
<xs:attribute name="style" type="xs:string"/>
|
31
|
-
<xs:attribute name="xref" type="xs:IDREF"/>
|
32
|
-
<xs:attribute name="id" type="xs:ID"/>
|
33
|
-
<xs:attribute ref="xlink:href"/>
|
34
|
-
<!-- allow attributes from foreign namespaces, and don't check them -->
|
35
|
-
<xs:anyAttribute namespace="##other" processContents="skip"/>
|
36
|
-
</xs:attributeGroup>
|
37
|
-
|
38
|
-
</xs:schema>
|
39
|
-
<!--
|
40
|
-
Copyright û 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,126 +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 defining the "math" element of MathML.
|
13
|
-
Author: Stéphane Dalmas, INRIA.
|
14
|
-
</xs:documentation>
|
15
|
-
</xs:annotation>
|
16
|
-
|
17
|
-
<!-- The four groups that govern a lot of things -->
|
18
|
-
|
19
|
-
<!-- currently very lax. Should be tightened from Chapter 5 -->
|
20
|
-
|
21
|
-
<xs:group name="Presentation-expr.class">
|
22
|
-
<xs:choice>
|
23
|
-
<xs:group ref="PresExpr.class"/>
|
24
|
-
<xs:group ref="ContExpr.class"/>
|
25
|
-
</xs:choice>
|
26
|
-
</xs:group>
|
27
|
-
|
28
|
-
<xs:group name="Content-expr.class">
|
29
|
-
<xs:choice>
|
30
|
-
<xs:group ref="ContExpr.class"/>
|
31
|
-
<xs:group ref="PresExpr.class"/>
|
32
|
-
</xs:choice>
|
33
|
-
</xs:group>
|
34
|
-
|
35
|
-
<xs:group name="PresExpr.class">
|
36
|
-
<xs:choice>
|
37
|
-
<xs:group ref="Presentation-token.class"/>
|
38
|
-
<xs:group ref="Presentation-layout.class"/>
|
39
|
-
<xs:group ref="Presentation-script.class"/>
|
40
|
-
<xs:group ref="Presentation-table.class"/>
|
41
|
-
<xs:element ref="mspace"/>
|
42
|
-
<xs:element ref="maction"/>
|
43
|
-
<xs:element ref="merror"/>
|
44
|
-
<xs:element ref="mstyle"/>
|
45
|
-
</xs:choice>
|
46
|
-
</xs:group>
|
47
|
-
|
48
|
-
<xs:group name="ContExpr.class">
|
49
|
-
<xs:choice>
|
50
|
-
<xs:group ref="Content-tokens.class"/>
|
51
|
-
<xs:group ref="Content-arith.class"/>
|
52
|
-
<xs:group ref="Content-functions.class"/>
|
53
|
-
<xs:group ref="Content-logic.class"/>
|
54
|
-
<xs:group ref="Content-constants.class"/>
|
55
|
-
<xs:group ref="Content-sets.class"/>
|
56
|
-
<xs:group ref="Content-relations.class"/>
|
57
|
-
<xs:group ref="Content-elementary-functions.class"/>
|
58
|
-
<xs:group ref="Content-calculus.class"/>
|
59
|
-
<xs:group ref="Content-linear-algebra.class"/>
|
60
|
-
<xs:group ref="Content-vector-calculus.class"/>
|
61
|
-
<xs:group ref="Content-statistics.class"/>
|
62
|
-
<xs:group ref="Content-constructs.class"/>
|
63
|
-
<xs:element ref="semantics"/>
|
64
|
-
</xs:choice>
|
65
|
-
</xs:group>
|
66
|
-
|
67
|
-
<!-- "math" -->
|
68
|
-
|
69
|
-
<xs:attributeGroup name="Browser-interface.attrib">
|
70
|
-
<xs:attribute name="baseline" type="xs:string"/>
|
71
|
-
<xs:attribute name="overflow" default="scroll">
|
72
|
-
<xs:simpleType>
|
73
|
-
<xs:restriction base="xs:string">
|
74
|
-
<xs:enumeration value="scroll"/>
|
75
|
-
<xs:enumeration value="elide"/>
|
76
|
-
<xs:enumeration value="truncate"/>
|
77
|
-
<xs:enumeration value="scale"/>
|
78
|
-
</xs:restriction>
|
79
|
-
</xs:simpleType>
|
80
|
-
</xs:attribute>
|
81
|
-
<xs:attribute name="altimg" type="xs:anyURI"/>
|
82
|
-
<xs:attribute name="alttext" type="xs:string"/>
|
83
|
-
<xs:attribute name="type" type="xs:string"/>
|
84
|
-
<xs:attribute name="name" type="xs:string"/>
|
85
|
-
<xs:attribute name="height" type="xs:string"/>
|
86
|
-
<xs:attribute name="width" type="xs:string"/>
|
87
|
-
</xs:attributeGroup>
|
88
|
-
|
89
|
-
<xs:attributeGroup name="math.attlist">
|
90
|
-
<xs:attributeGroup ref="Browser-interface.attrib"/>
|
91
|
-
<xs:attribute name="macros" type="xs:string"/>
|
92
|
-
<!-- deprecated
|
93
|
-
<xs:attribute name="mode" type="xs:string"/>
|
94
|
-
-->
|
95
|
-
<xs:attribute name="display" default="inline">
|
96
|
-
<xs:simpleType>
|
97
|
-
<xs:restriction base="xs:string">
|
98
|
-
<xs:enumeration value="block"/>
|
99
|
-
<xs:enumeration value="inline"/>
|
100
|
-
</xs:restriction>
|
101
|
-
</xs:simpleType>
|
102
|
-
</xs:attribute>
|
103
|
-
<xs:attributeGroup ref="Common.attrib"/>
|
104
|
-
</xs:attributeGroup>
|
105
|
-
|
106
|
-
<xs:group name="math.content">
|
107
|
-
<xs:choice>
|
108
|
-
<xs:group ref="PresExpr.class"/>
|
109
|
-
<xs:group ref="ContExpr.class"/>
|
110
|
-
</xs:choice>
|
111
|
-
</xs:group>
|
112
|
-
|
113
|
-
<xs:complexType name="math.type">
|
114
|
-
<xs:group ref="math.content" minOccurs="0" maxOccurs="unbounded"/>
|
115
|
-
<xs:attributeGroup ref="math.attlist"/>
|
116
|
-
</xs:complexType>
|
117
|
-
|
118
|
-
<xs:element name="math" type="math.type"/>
|
119
|
-
|
120
|
-
</xs:schema>
|
121
|
-
<!--
|
122
|
-
Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
|
123
|
-
of Technology, Institut National de Recherche en Informatique et en
|
124
|
-
Automatique, Keio University). All Rights Reserved. See
|
125
|
-
http://www.w3.org/Consortium/Legal/.
|
126
|
-
-->
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<schema targetNamespace="http://www.w3.org/1999/xlink"
|
2
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
3
|
-
xmlns="http://www.w3.org/2001/XMLSchema">
|
4
|
-
<annotation>
|
5
|
-
<documentation xml:lang="en">
|
6
|
-
This schema provides the XLink href attribute for use in the MathML2
|
7
|
-
schema. Written by Max Froumentin, W3C.
|
8
|
-
</documentation>
|
9
|
-
</annotation>
|
10
|
-
|
11
|
-
<attribute name="href" type="anyURI"/>
|
12
|
-
</schema>
|
13
|
-
|
14
|
-
|
15
|
-
<!--
|
16
|
-
Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
|
17
|
-
of Technology, Institut National de Recherche en Informatique et en
|
18
|
-
Automatique, Keio University). All Rights Reserved. See
|
19
|
-
http://www.w3.org/Consortium/Legal/.
|
20
|
-
-->
|
@@ -1,90 +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 "arithmetic" operators of content
|
13
|
-
MathML.
|
14
|
-
Author: Stéphane Dalmas, INRIA.
|
15
|
-
</xs:documentation>
|
16
|
-
</xs:annotation>
|
17
|
-
|
18
|
-
<!-- a common type for all this -->
|
19
|
-
|
20
|
-
<xs:complexType name="Arith.type">
|
21
|
-
<xs:attributeGroup ref="Definition.attrib"/>
|
22
|
-
<xs:attributeGroup ref="Common.attrib"/>
|
23
|
-
</xs:complexType>
|
24
|
-
|
25
|
-
<!-- The elements -->
|
26
|
-
|
27
|
-
<xs:element name="abs" type="Arith.type"/>
|
28
|
-
<xs:element name="conjugate" type="Arith.type"/>
|
29
|
-
<xs:element name="arg" type="Arith.type"/>
|
30
|
-
<xs:element name="real" type="Arith.type"/>
|
31
|
-
<xs:element name="imaginary" type="Arith.type"/>
|
32
|
-
|
33
|
-
<xs:element name="floor" type="Arith.type"/>
|
34
|
-
<xs:element name="ceiling" type="Arith.type"/>
|
35
|
-
|
36
|
-
<xs:element name="power" type="Arith.type"/>
|
37
|
-
<xs:element name="root" type="Arith.type"/>
|
38
|
-
|
39
|
-
<xs:element name="minus" type="Arith.type"/>
|
40
|
-
<xs:element name="plus" type="Arith.type"/>
|
41
|
-
<xs:element name="sum" type="Arith.type"/>
|
42
|
-
<xs:element name="times" type="Arith.type"/>
|
43
|
-
<xs:element name="product" type="Arith.type"/>
|
44
|
-
|
45
|
-
<xs:element name="max" type="Arith.type"/>
|
46
|
-
<xs:element name="min" type="Arith.type"/>
|
47
|
-
|
48
|
-
<xs:element name="factorial" type="Arith.type"/>
|
49
|
-
<xs:element name="quotient" type="Arith.type"/>
|
50
|
-
<xs:element name="divide" type="Arith.type"/>
|
51
|
-
<xs:element name="rem" type="Arith.type"/>
|
52
|
-
<xs:element name="gcd" type="Arith.type"/>
|
53
|
-
<xs:element name="lcm" type="Arith.type"/>
|
54
|
-
|
55
|
-
<!-- And the group of everything -->
|
56
|
-
|
57
|
-
<xs:group name="Content-arith.class">
|
58
|
-
<xs:choice>
|
59
|
-
<xs:element ref="abs"/>
|
60
|
-
<xs:element ref="conjugate"/>
|
61
|
-
<xs:element ref="factorial"/>
|
62
|
-
<xs:element ref="arg"/>
|
63
|
-
<xs:element ref="real"/>
|
64
|
-
<xs:element ref="imaginary"/>
|
65
|
-
<xs:element ref="floor"/>
|
66
|
-
<xs:element ref="ceiling"/>
|
67
|
-
<xs:element ref="quotient"/>
|
68
|
-
<xs:element ref="divide"/>
|
69
|
-
<xs:element ref="rem"/>
|
70
|
-
<xs:element ref="minus"/>
|
71
|
-
<xs:element ref="plus"/>
|
72
|
-
<xs:element ref="times"/>
|
73
|
-
<xs:element ref="power"/>
|
74
|
-
<xs:element ref="root"/>
|
75
|
-
<xs:element ref="max"/>
|
76
|
-
<xs:element ref="min"/>
|
77
|
-
<xs:element ref="gcd"/>
|
78
|
-
<xs:element ref="lcm"/>
|
79
|
-
<xs:element ref="sum"/>
|
80
|
-
<xs:element ref="product"/>
|
81
|
-
</xs:choice>
|
82
|
-
</xs:group>
|
83
|
-
|
84
|
-
</xs:schema>
|
85
|
-
<!--
|
86
|
-
Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
|
87
|
-
of Technology, Institut National de Recherche en Informatique et en
|
88
|
-
Automatique, Keio University). All Rights Reserved. See
|
89
|
-
http://www.w3.org/Consortium/Legal/.
|
90
|
-
-->
|
@@ -1,146 +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 calculs operators of content
|
13
|
-
MathML.
|
14
|
-
Author: Stéphane Dalmas, INRIA.
|
15
|
-
</xs:documentation>
|
16
|
-
</xs:annotation>
|
17
|
-
|
18
|
-
<!-- "int" -->
|
19
|
-
|
20
|
-
<xs:attributeGroup name="int.attlist">
|
21
|
-
<xs:attributeGroup ref="Definition.attrib"/>
|
22
|
-
<xs:attributeGroup ref="Common.attrib"/>
|
23
|
-
</xs:attributeGroup>
|
24
|
-
|
25
|
-
<xs:complexType name="int.type">
|
26
|
-
<xs:attributeGroup ref="int.attlist"/>
|
27
|
-
</xs:complexType>
|
28
|
-
|
29
|
-
<xs:element name="int" type="int.type"/>
|
30
|
-
|
31
|
-
<!-- "diff" -->
|
32
|
-
|
33
|
-
<xs:attributeGroup name="diff.attlist">
|
34
|
-
<xs:attributeGroup ref="Definition.attrib"/>
|
35
|
-
<xs:attributeGroup ref="Common.attrib"/>
|
36
|
-
</xs:attributeGroup>
|
37
|
-
|
38
|
-
<xs:complexType name="diff.type">
|
39
|
-
<xs:attributeGroup ref="diff.attlist"/>
|
40
|
-
</xs:complexType>
|
41
|
-
|
42
|
-
<xs:element name="diff" type="diff.type"/>
|
43
|
-
|
44
|
-
<!-- "partialdiff" -->
|
45
|
-
|
46
|
-
<xs:attributeGroup name="partialdiff.attlist">
|
47
|
-
<xs:attributeGroup ref="Definition.attrib"/>
|
48
|
-
<xs:attributeGroup ref="Common.attrib"/>
|
49
|
-
</xs:attributeGroup>
|
50
|
-
|
51
|
-
<xs:complexType name="partialdiff.type">
|
52
|
-
<xs:attributeGroup ref="partialdiff.attlist"/>
|
53
|
-
</xs:complexType>
|
54
|
-
|
55
|
-
<xs:element name="partialdiff" type="partialdiff.type"/>
|
56
|
-
|
57
|
-
<!-- "limit" -->
|
58
|
-
|
59
|
-
<xs:attributeGroup name="limit.attlist">
|
60
|
-
<xs:attributeGroup ref="Definition.attrib"/>
|
61
|
-
<xs:attributeGroup ref="Common.attrib"/>
|
62
|
-
</xs:attributeGroup>
|
63
|
-
|
64
|
-
|
65
|
-
<xs:complexType name="limit.type">
|
66
|
-
<xs:attributeGroup ref="limit.attlist"/>
|
67
|
-
</xs:complexType>
|
68
|
-
|
69
|
-
<xs:element name="limit" type="limit.type"/>
|
70
|
-
|
71
|
-
<!-- "lowlimit" -->
|
72
|
-
|
73
|
-
<xs:attributeGroup name="lowlimit.attlist">
|
74
|
-
<xs:attributeGroup ref="Definition.attrib"/>
|
75
|
-
<xs:attributeGroup ref="Common.attrib"/>
|
76
|
-
</xs:attributeGroup>
|
77
|
-
|
78
|
-
<xs:group name="lowlimit.content">
|
79
|
-
<xs:sequence>
|
80
|
-
<xs:group ref="Content-expr.class"/>
|
81
|
-
</xs:sequence>
|
82
|
-
</xs:group>
|
83
|
-
|
84
|
-
<xs:complexType name="lowlimit.type">
|
85
|
-
<xs:group ref="lowlimit.content" minOccurs="1" maxOccurs="unbounded"/>
|
86
|
-
<xs:attributeGroup ref="lowlimit.attlist"/>
|
87
|
-
</xs:complexType>
|
88
|
-
|
89
|
-
<xs:element name="lowlimit" type="lowlimit.type"/>
|
90
|
-
|
91
|
-
<!-- "uplimit" -->
|
92
|
-
|
93
|
-
<xs:attributeGroup name="uplimit.attlist">
|
94
|
-
<xs:attributeGroup ref="Definition.attrib"/>
|
95
|
-
<xs:attributeGroup ref="Common.attrib"/>
|
96
|
-
</xs:attributeGroup>
|
97
|
-
|
98
|
-
<xs:group name="uplimit.content">
|
99
|
-
<xs:sequence>
|
100
|
-
<xs:group ref="Content-expr.class"/>
|
101
|
-
</xs:sequence>
|
102
|
-
</xs:group>
|
103
|
-
|
104
|
-
<xs:complexType name="uplimit.type">
|
105
|
-
<xs:group ref="uplimit.content" minOccurs="1" maxOccurs="unbounded"/>
|
106
|
-
<xs:attributeGroup ref="uplimit.attlist"/>
|
107
|
-
</xs:complexType>
|
108
|
-
|
109
|
-
<xs:element name="uplimit" type="uplimit.type"/>
|
110
|
-
|
111
|
-
<!-- "tendsto" -->
|
112
|
-
|
113
|
-
<xs:attributeGroup name="tendsto.attlist">
|
114
|
-
<xs:attribute name="type" type="xs:string"/>
|
115
|
-
<xs:attributeGroup ref="Definition.attrib"/>
|
116
|
-
<xs:attributeGroup ref="Common.attrib"/>
|
117
|
-
</xs:attributeGroup>
|
118
|
-
|
119
|
-
|
120
|
-
<xs:complexType name="tendsto.type">
|
121
|
-
<xs:attributeGroup ref="tendsto.attlist"/>
|
122
|
-
</xs:complexType>
|
123
|
-
|
124
|
-
<xs:element name="tendsto" type="tendsto.type"/>
|
125
|
-
|
126
|
-
<!-- And the group of everything -->
|
127
|
-
|
128
|
-
<xs:group name="Content-calculus.class">
|
129
|
-
<xs:choice>
|
130
|
-
<xs:element ref="int"/>
|
131
|
-
<xs:element ref="diff"/>
|
132
|
-
<xs:element ref="partialdiff"/>
|
133
|
-
<xs:element ref="limit"/>
|
134
|
-
<xs:element ref="lowlimit"/>
|
135
|
-
<xs:element ref="uplimit"/>
|
136
|
-
<xs:element ref="tendsto"/>
|
137
|
-
</xs:choice>
|
138
|
-
</xs:group>
|
139
|
-
|
140
|
-
</xs:schema>
|
141
|
-
<!--
|
142
|
-
Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
|
143
|
-
of Technology, Institut National de Recherche en Informatique et en
|
144
|
-
Automatique, Keio University). All Rights Reserved. See
|
145
|
-
http://www.w3.org/Consortium/Legal/.
|
146
|
-
-->
|
@@ -1,30 +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 defining common attributes for the
|
13
|
-
content part of MathML.
|
14
|
-
Authors: Stéphane Dalmas, INRIA.
|
15
|
-
</xs:documentation>
|
16
|
-
</xs:annotation>
|
17
|
-
|
18
|
-
<xs:attributeGroup name="Definition.attrib">
|
19
|
-
<xs:attribute name="encoding" type="xs:string"/>
|
20
|
-
<xs:attribute name="definitionURL" type="xs:anyURI"/>
|
21
|
-
</xs:attributeGroup>
|
22
|
-
|
23
|
-
</xs:schema>
|
24
|
-
|
25
|
-
<!--
|
26
|
-
Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
|
27
|
-
of Technology, Institut National de Recherche en Informatique et en
|
28
|
-
Automatique, Keio University). All Rights Reserved. See
|
29
|
-
http://www.w3.org/Consortium/Legal/.
|
30
|
-
-->
|