Skip to content

Commit 4b6af51

Browse files
committed
change publicationStmt model
1 parent 01066cd commit 4b6af51

9 files changed

Lines changed: 147 additions & 6644 deletions

File tree

Doc/eltec-0.html

Lines changed: 35 additions & 44 deletions
Large diffs are not rendered by default.

Doc/eltec-1.html

Lines changed: 37 additions & 46 deletions
Large diffs are not rendered by default.

Doc/eltec-2.html

Lines changed: 46 additions & 55 deletions
Large diffs are not rendered by default.

ELTeC-example.rng

Lines changed: 0 additions & 3230 deletions
This file was deleted.

ELTeC-examples.rng

Lines changed: 0 additions & 3230 deletions
This file was deleted.

ODD/eltec.xml

Lines changed: 14 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@
209209
<alternate>
210210
<elementRef key="p"/>
211211
<sequence>
212-
<elementRef key="distributor"/>
212+
<elementRef key="publisher"/>
213+
<elementRef key="distributor"/>
213214
<elementRef key="date"/>
214215
<elementRef key="availability"/>
215216
<elementRef key="ref" maxOccurs="unbounded" minOccurs="0"/>
@@ -218,41 +219,27 @@
218219
<!-- CO added ex -->
219220
<egXML xmlns="http://www.tei-c.org/ns/Examples">
220221
<publicationStmt>
221-
<distributor>COST Action ELTeC</distributor>
222-
<date when="2018-11-23"/>
223-
<availability>
224-
<licence
225-
target="https://creativecommons.org/licenses/by/4.0/">
226-
Licenced under CC-BY 4.0 </licence>
222+
<publisher
223+
ref="https://distant-reading.net">COST Action "Distant Reading for European Literary History" (CA16204)</publisher>
224+
<distributor
225+
ref="https://zenodo.org/communities/eltec/">Zenodo.org</distributor>
226+
<date when="{$today}"/>
227+
<availability>
228+
<licence target="https://creativecommons.org/licenses/by/4.0/"/>
227229
</availability>
228230
<ref type="doi" target="10.5281/zenodo.8468"/>
229231
<ref type="raw"
230232
target="https://raw.githubusercontent.com/COST-ELTeC/ELTeC-eng/master/level1/ENG18440_Disraeli.xml"/>
231233
</publicationStmt>
232234
</egXML>
233235
</exemplum>
234-
<exemplum>
235-
<egXML xmlns="http://www.tei-c.org/ns/Examples">
236-
<publicationStmt>
237-
<distributor>COST Action ELTeC</distributor>
238-
<date when="2019-01-05"/>
239-
<availability>
240-
<licence
241-
target="https://creativecommons.org/licenses/by/4.0/">
242-
<p>El documento TEI está licenciado con Creative Commons
243-
Attribution (CC-BY 4.0).</p>
244-
</licence>
245-
</availability>
246-
<ref type="gitview"
247-
target="https://github.com/COST-ELTeC/ELTeC-spa/blob/master/level1/SPA1023_GomezDeAvellaneda_LaVeladaDelHelecho.xml"/>
248-
</publicationStmt>
249-
</egXML>
250-
</exemplum>
236+
251237
<remarks>
252238
<p>In a published ELTeC text, the publication statement always has components as
253-
shown above: a <gi>distributor</gi> naming the project itself, a
254-
<gi>date</gi> showing the text was added to the Collection, and an <gi>availability</gi>
255-
element containing a standardised statement concerning its licence.
239+
shown above: a <gi>publisher</gi> naming the project itself, a <gi>distributor</gi>
240+
specifying the Zenodo community within which the text is made available,
241+
a <gi>date</gi> showing the text was released, and an <gi>availability</gi>
242+
element indicating the licence under which it is made available.
256243
One or more <gi>ref</gi> elements may also follow specifying a URL from
257244
which the text may be downloaded. These details are added during the publication
258245
process, if not already present.</p>

eltec-0.rng

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xmlns:teix="http://www.tei-c.org/ns/Examples"
66
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
77
ns="http://www.tei-c.org/ns/1.0"><!--
8-
Schema generated from ODD source 2019-10-11T19:11:32Z. .
8+
Schema generated from ODD source 2019-10-15T13:31:57Z. .
99
TEI Edition:
1010
TEI Edition Location: http://www.tei-c.org/Vault/P5//
1111
@@ -78,17 +78,17 @@ TEI Edition Location: http://www.tei-c.org/Vault/P5//
7878
<optional>
7979
<attribute name="unit">
8080
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the unit used for the measurement
81-
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] lines; 5] chars (characters)</a:documentation>
81+
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] line; 5] char (characters)</a:documentation>
8282
<choice>
8383
<value>cm</value>
8484
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(centimetres) </a:documentation>
8585
<value>mm</value>
8686
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(millimetres) </a:documentation>
8787
<value>in</value>
8888
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inches) </a:documentation>
89-
<value>lines</value>
89+
<value>line</value>
9090
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">lines of text</a:documentation>
91-
<value>chars</value>
91+
<value>char</value>
9292
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(characters) characters of text</a:documentation>
9393
<data type="token">
9494
<param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
@@ -1140,6 +1140,7 @@ Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inche
11401140
<choice>
11411141
<ref name="p"/>
11421142
<group>
1143+
<ref name="publisher"/>
11431144
<ref name="distributor"/>
11441145
<ref name="date"/>
11451146
<ref name="availability"/>

eltec-1.rng

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xmlns:teix="http://www.tei-c.org/ns/Examples"
66
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
77
ns="http://www.tei-c.org/ns/1.0"><!--
8-
Schema generated from ODD source 2019-10-11T19:11:53Z. .
8+
Schema generated from ODD source 2019-10-15T13:32:03Z. .
99
TEI Edition:
1010
TEI Edition Location: http://www.tei-c.org/Vault/P5//
1111
@@ -78,17 +78,17 @@ TEI Edition Location: http://www.tei-c.org/Vault/P5//
7878
<optional>
7979
<attribute name="unit">
8080
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the unit used for the measurement
81-
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] lines; 5] chars (characters)</a:documentation>
81+
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] line; 5] char (characters)</a:documentation>
8282
<choice>
8383
<value>cm</value>
8484
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(centimetres) </a:documentation>
8585
<value>mm</value>
8686
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(millimetres) </a:documentation>
8787
<value>in</value>
8888
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inches) </a:documentation>
89-
<value>lines</value>
89+
<value>line</value>
9090
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">lines of text</a:documentation>
91-
<value>chars</value>
91+
<value>char</value>
9292
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(characters) characters of text</a:documentation>
9393
<data type="token">
9494
<param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
@@ -1228,6 +1228,7 @@ Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inche
12281228
<choice>
12291229
<ref name="p"/>
12301230
<group>
1231+
<ref name="publisher"/>
12311232
<ref name="distributor"/>
12321233
<ref name="date"/>
12331234
<ref name="availability"/>

eltec-2.rng

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xmlns:teix="http://www.tei-c.org/ns/Examples"
66
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
77
ns="http://www.tei-c.org/ns/1.0"><!--
8-
Schema generated from ODD source 2019-10-11T19:12:04Z. .
8+
Schema generated from ODD source 2019-10-15T13:32:09Z. .
99
TEI Edition:
1010
TEI Edition Location: http://www.tei-c.org/Vault/P5//
1111
@@ -78,17 +78,17 @@ TEI Edition Location: http://www.tei-c.org/Vault/P5//
7878
<optional>
7979
<attribute name="unit">
8080
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the unit used for the measurement
81-
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] lines; 5] chars (characters)</a:documentation>
81+
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] line; 5] char (characters)</a:documentation>
8282
<choice>
8383
<value>cm</value>
8484
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(centimetres) </a:documentation>
8585
<value>mm</value>
8686
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(millimetres) </a:documentation>
8787
<value>in</value>
8888
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inches) </a:documentation>
89-
<value>lines</value>
89+
<value>line</value>
9090
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">lines of text</a:documentation>
91-
<value>chars</value>
91+
<value>char</value>
9292
<a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(characters) characters of text</a:documentation>
9393
<data type="token">
9494
<param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
@@ -1255,6 +1255,7 @@ Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inche
12551255
<choice>
12561256
<ref name="p"/>
12571257
<group>
1258+
<ref name="publisher"/>
12581259
<ref name="date"/>
12591260
<zeroOrMore>
12601261
<ref name="ref"/>

0 commit comments

Comments
 (0)