Skip to content

Commit

Permalink
change publicationStmt model
Browse files Browse the repository at this point in the history
  • Loading branch information
lb42 committed Oct 15, 2019
1 parent 01066cd commit 4b6af51
Show file tree
Hide file tree
Showing 9 changed files with 147 additions and 6,644 deletions.
79 changes: 35 additions & 44 deletions Doc/eltec-0.html

Large diffs are not rendered by default.

83 changes: 37 additions & 46 deletions Doc/eltec-1.html

Large diffs are not rendered by default.

101 changes: 46 additions & 55 deletions Doc/eltec-2.html

Large diffs are not rendered by default.

3,230 changes: 0 additions & 3,230 deletions ELTeC-example.rng

This file was deleted.

3,230 changes: 0 additions & 3,230 deletions ELTeC-examples.rng

This file was deleted.

41 changes: 14 additions & 27 deletions ODD/eltec.xml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@
<alternate>
<elementRef key="p"/>
<sequence>
<elementRef key="distributor"/>
<elementRef key="publisher"/>
<elementRef key="distributor"/>
<elementRef key="date"/>
<elementRef key="availability"/>
<elementRef key="ref" maxOccurs="unbounded" minOccurs="0"/>
Expand All @@ -218,41 +219,27 @@
<!-- CO added ex -->
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<publicationStmt>
<distributor>COST Action ELTeC</distributor>
<date when="2018-11-23"/>
<availability>
<licence
target="https://creativecommons.org/licenses/by/4.0/">
Licenced under CC-BY 4.0 </licence>
<publisher
ref="https://distant-reading.net">COST Action "Distant Reading for European Literary History" (CA16204)</publisher>
<distributor
ref="https://zenodo.org/communities/eltec/">Zenodo.org</distributor>
<date when="{$today}"/>
<availability>
<licence target="https://creativecommons.org/licenses/by/4.0/"/>
</availability>
<ref type="doi" target="10.5281/zenodo.8468"/>
<ref type="raw"
target="https://raw.githubusercontent.com/COST-ELTeC/ELTeC-eng/master/level1/ENG18440_Disraeli.xml"/>
</publicationStmt>
</egXML>
</exemplum>
<exemplum>
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<publicationStmt>
<distributor>COST Action ELTeC</distributor>
<date when="2019-01-05"/>
<availability>
<licence
target="https://creativecommons.org/licenses/by/4.0/">
<p>El documento TEI está licenciado con Creative Commons
Attribution (CC-BY 4.0).</p>
</licence>
</availability>
<ref type="gitview"
target="https://github.com/COST-ELTeC/ELTeC-spa/blob/master/level1/SPA1023_GomezDeAvellaneda_LaVeladaDelHelecho.xml"/>
</publicationStmt>
</egXML>
</exemplum>

<remarks>
<p>In a published ELTeC text, the publication statement always has components as
shown above: a <gi>distributor</gi> naming the project itself, a
<gi>date</gi> showing the text was added to the Collection, and an <gi>availability</gi>
element containing a standardised statement concerning its licence.
shown above: a <gi>publisher</gi> naming the project itself, a <gi>distributor</gi>
specifying the Zenodo community within which the text is made available,
a <gi>date</gi> showing the text was released, and an <gi>availability</gi>
element indicating the licence under which it is made available.
One or more <gi>ref</gi> elements may also follow specifying a URL from
which the text may be downloaded. These details are added during the publication
process, if not already present.</p>
Expand Down
9 changes: 5 additions & 4 deletions eltec-0.rng
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:teix="http://www.tei-c.org/ns/Examples"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="http://www.tei-c.org/ns/1.0"><!--
Schema generated from ODD source 2019-10-11T19:11:32Z. .
Schema generated from ODD source 2019-10-15T13:31:57Z. .
TEI Edition:
TEI Edition Location: http://www.tei-c.org/Vault/P5//
Expand Down Expand Up @@ -78,17 +78,17 @@ TEI Edition Location: http://www.tei-c.org/Vault/P5//
<optional>
<attribute name="unit">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the unit used for the measurement
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] lines; 5] chars (characters)</a:documentation>
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] line; 5] char (characters)</a:documentation>
<choice>
<value>cm</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(centimetres) </a:documentation>
<value>mm</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(millimetres) </a:documentation>
<value>in</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inches) </a:documentation>
<value>lines</value>
<value>line</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">lines of text</a:documentation>
<value>chars</value>
<value>char</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(characters) characters of text</a:documentation>
<data type="token">
<param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
Expand Down Expand Up @@ -1140,6 +1140,7 @@ Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inche
<choice>
<ref name="p"/>
<group>
<ref name="publisher"/>
<ref name="distributor"/>
<ref name="date"/>
<ref name="availability"/>
Expand Down
9 changes: 5 additions & 4 deletions eltec-1.rng
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:teix="http://www.tei-c.org/ns/Examples"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="http://www.tei-c.org/ns/1.0"><!--
Schema generated from ODD source 2019-10-11T19:11:53Z. .
Schema generated from ODD source 2019-10-15T13:32:03Z. .
TEI Edition:
TEI Edition Location: http://www.tei-c.org/Vault/P5//
Expand Down Expand Up @@ -78,17 +78,17 @@ TEI Edition Location: http://www.tei-c.org/Vault/P5//
<optional>
<attribute name="unit">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the unit used for the measurement
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] lines; 5] chars (characters)</a:documentation>
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] line; 5] char (characters)</a:documentation>
<choice>
<value>cm</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(centimetres) </a:documentation>
<value>mm</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(millimetres) </a:documentation>
<value>in</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inches) </a:documentation>
<value>lines</value>
<value>line</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">lines of text</a:documentation>
<value>chars</value>
<value>char</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(characters) characters of text</a:documentation>
<data type="token">
<param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
Expand Down Expand Up @@ -1228,6 +1228,7 @@ Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inche
<choice>
<ref name="p"/>
<group>
<ref name="publisher"/>
<ref name="distributor"/>
<ref name="date"/>
<ref name="availability"/>
Expand Down
9 changes: 5 additions & 4 deletions eltec-2.rng
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:teix="http://www.tei-c.org/ns/Examples"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="http://www.tei-c.org/ns/1.0"><!--
Schema generated from ODD source 2019-10-11T19:12:04Z. .
Schema generated from ODD source 2019-10-15T13:32:09Z. .
TEI Edition:
TEI Edition Location: http://www.tei-c.org/Vault/P5//
Expand Down Expand Up @@ -78,17 +78,17 @@ TEI Edition Location: http://www.tei-c.org/Vault/P5//
<optional>
<attribute name="unit">
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the unit used for the measurement
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] lines; 5] chars (characters)</a:documentation>
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] line; 5] char (characters)</a:documentation>
<choice>
<value>cm</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(centimetres) </a:documentation>
<value>mm</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(millimetres) </a:documentation>
<value>in</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inches) </a:documentation>
<value>lines</value>
<value>line</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">lines of text</a:documentation>
<value>chars</value>
<value>char</value>
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(characters) characters of text</a:documentation>
<data type="token">
<param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
Expand Down Expand Up @@ -1255,6 +1255,7 @@ Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inche
<choice>
<ref name="p"/>
<group>
<ref name="publisher"/>
<ref name="date"/>
<zeroOrMore>
<ref name="ref"/>
Expand Down

0 comments on commit 4b6af51

Please sign in to comment.