Skip to content

Commit

Permalink
change dates in PI for dtd and ent files
Browse files Browse the repository at this point in the history
  • Loading branch information
tcatapano committed Feb 3, 2023
1 parent 12fdc92 commit 262a741
Show file tree
Hide file tree
Showing 11 changed files with 121 additions and 48 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@
# emacs backup files
*~

# Mac DS_Store files
.DS_Store
**/.DS_Store

# error files
*-errs.txt
**/*-errs.txt
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The [Journal Publishing Tag Library for NISO JATS Version 1.3 ](https://jats.nlm

* Download release, point instance to file `tax-treatment-NS0-v1.dtd` using Formal Public Identifier:

`-//TaxPub//DTD Taxonomic Treatment Publishing DTD v1.0 20230202//EN`
`-//TaxPub//DTD Taxonomic Treatment Publishing DTD v1.0 20230203//EN`

* A single file "flattened" version of the TaxPub V1.0 DTD, `tax-treatment_NS0_v1_flat.dtd`, derived using the [DTDAnalyzer](https://dtd.nlm.nih.gov/ncbi/dtdanalyzer/) program `dtdflatten`, may also be used.

Expand Down
2 changes: 1 addition & 1 deletion documentation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JATS/Taxpub V1.0 Documentation</title>
<link rel="stylesheet" type="text/css" href="http://dtd.nlm.nih.gov/ncbi/jatsdoc/0.1/jatsdoc.css"><script type="text/javascript" src="http://dtd.nlm.nih.gov/ncbi/jatsdoc/0.1/jatsdoc.js">
<link rel="stylesheet" type="text/css" href="jatsdoc.css"><script type="text/javascript" src="jatsdoc.js">
// //
</script></head>
<body>
Expand Down
21 changes: 10 additions & 11 deletions overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
## Sample article

* Marin I. 2020. Thoridae (Crustacea: Decapoda) can penetrate the Abyss: a new species of Lebbeus from the Sea of Okhotsk, representing the deepest record of the family. European Journal of Taxonomy 604: 1–35. https://doi.org/10.5852/ejt.2020.604
* HTML: http://plazi.catapanoth.com/ejt_samples/ejt-604_marin_xml_id_tp.html
* XML: http://plazi.catapanoth.com/ejt_samples/ejt-604_marin_xml_id_tp.xml
* HTML: http://taxpub.org/samples/ejt/ejt-604_marin_xml_id_tp.html
* XML: http://taxpub.org/samples/ejt/ejt-604_marin_xml_id_tp.xml

* sample encoding of treatment:

```
<tp:taxon-treatment>
<tp:nomenclature>
<tp:mixed-nomenclature>
<tp:taxon-name>Lebbeus sokhobio sp. nov.<object-id/></tp:taxon-name>
<xref rid="fig-">Figs 1–6</xref>
</tp:nomenclature>
<xref rid="fig-1">Figs 1–6</xref>
</tp:mixed-nomenclature>
<tp:treatment-sec sec-type="reference_group">
<tp:nomenclature-citation-list>
<tp:nomenclature-citation><tp:taxon-name>Lebbeus</tp:taxon-name> sp. – <xref>Marin 2018:
Expand All @@ -47,12 +47,11 @@
```

## DTD Documentation
* tp:taxon-treatment
http://taxpub.catapanoth.com/v1-beta-1/documentation/#p=elem-tp-taxon-treatment
* tp:taxon-treatment:
http://taxpub.org/v1-0/taglibrary/#p=elem-tp-taxon-treatment
```
( tp:treatment-meta?, (tp:nomenclature | tp:mixed-nomenclature), (
tp:treatment-sec | tp:taxon-treatment )*, ref-list? )
( tp:treatment-meta?, ( tp:nomenclature | tp:mixed-nomenclature ), ( tp:treatment-sec | tp:taxon-treatment )*, ref-list? )
```
## Status
* Version 1.0-beta.1 Release Candidate 4
* Based on JATS Publishing v1.1
* Version 1.0
* Based on JATS Publishing v1.3
31 changes: 31 additions & 0 deletions samples/0389878798B65AB4D873FAB8D60CF9F5t_p_l1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<tp:taxon-treatment xmlns:tp="http://www.plazi.org/taxpub">
<tp:treatment-meta>
<kwd-group>
<kwd content-type="nominate-taxon">
<tp:taxon-name> Hipposideros fuliginosus (Temminck, 1853) </tp:taxon-name>
</kwd>
</kwd-group>
<mixed-citation>
<named-content content-type="treatment-title">Hipposideros fuliginosus</named-content>
<uri content-type="zenodo-doi">https://doi.org/10.5852/ejt.2017.382</uri>
<uri content-type="treatment-bank-uri"
>http://treatment.plazi.org/id/0389878798B65AB4D873FAB8D60CF9F5</uri>
<article-title>The bats of the Congo and of Rwanda and Burundi revisited (Mammalia:
Chiroptera)</article-title>
<pub-id pub-id-type="doi">https://doi.org/10.5852/ejt.2017.382</pub-id>
<issn>2118-9773</issn>
<source>European Journal of Taxonomy</source>
</mixed-citation>
</tp:treatment-meta>
<tp:mixed-nomenclature>
<tp:taxon-name> Hipposideros fuliginosus (Temminck, 1853) </tp:taxon-name>
</tp:mixed-nomenclature>
<tp:treatment-sec sec-type="materials_examined">
<p> DEMOCRATIC REPUBLIC OF THE CONGO : 3 ♂♂ [3 SS], Epulu , 2 May 1951 , 3 May 1951 , leg.
A. Schwartz and R.N. Porter ( KU : 151336 to 151338); 1 ♂ [SA], Equateur (former)
Province , prior to 7 Oct. 1996 , leg. unknown collector ( SMF : 84411); 2 ♂♂ [1 SK, 1
SN], Irumu , 40 mi [= 64 km ] SW [= Ituri Forest ] , unknown date, leg. Howard de Walden
( BMNH : 1930.11.11.143, 1930.11.11.144); 1 ♂ [SS], Yalosemba , 26 Jun. 1979 , leg. Lynn
W. Robbins ( USNM : 537713). </p>
</tp:treatment-sec>
</tp:taxon-treatment>
36 changes: 36 additions & 0 deletions samples/0389878798C85ACAD846F96BD086F80B_tp_l1.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<tp:taxon-treatment xmlns:tp="http://www.plazi.org/taxpub">
<tp:treatment-meta>
<kwd-group>
<kwd content-type="nominate-taxon">
<tp:taxon-name> Myopterus daubentonii Desmarest, 1820 </tp:taxon-name>
</kwd>
<kwd content-type="mentioned-taxon">
<tp:taxon-name> Myopterus albatus Thomas, 1915 </tp:taxon-name>
</kwd>
</kwd-group>
<mixed-citation>
<named-content content-type="treatment-title">Myopterus daubentonii Desmarest
1820</named-content>
<uri content-type="zenodo-doi">https://doi.org/10.5852/ejt.2017.382</uri>
<uri content-type="treatment-bank-uri"
>http://treatment.plazi.org/id/0389878798C85ACAD846F96BD086F80B</uri>
<article-title>The bats of the Congo and of Rwanda and Burundi revisited (Mammalia:
Chiroptera)</article-title>
<pub-id pub-id-type="doi">https://doi.org/10.5852/ejt.2017.382</pub-id>
<issn>2118-9773</issn>
<source>European Journal of Taxonomy</source>
</mixed-citation>
</tp:treatment-meta>
<tp:mixed-nomenclature>
<tp:taxon-name> Myopterus daubentonii Desmarest, 1820 </tp:taxon-name>
</tp:mixed-nomenclature>
<tp:treatment-sec sec-type="materials_examined">
<p> DEMOCRATIC REPUBLIC OF THE CONGO : 1? [AL], Bunia , prior to 20 Feb. 1939 , leg.
Maristes ( RMCA : 15224); 1 ad ♀ , 6 ♀♀ , 1 ♂ [7 SS, 1 AL], Niangara , 26 Dec. 1910 , 27
Dec. 1910 , leg. Herbert Lang, James Paul Chapin and The American Museum Congo
Expedition, 26 Dec. 1910 , leg. unknown collector ( AMNH : 48852 to 48856, MCZ : 17384,
AMNH : 48857, 49228); 2 ?? [1 SO, 1 UN], Uele [ River ] , 28 Apr. 1914 , prior to 28
Apr. 1914 , leg. M. Hutereau ( BMNH : 1919.5.9.1 [ holotype <tp:taxon-name> Myopterus
albatus Thomas, 1915 </tp:taxon-name> ], RMCA : 2911). </p>
</tp:treatment-sec>
</tp:taxon-treatment>
6 changes: 3 additions & 3 deletions tax-treatment-NS0-v1.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ NLM Journal Publishing DTD version 3.0 created in September 2008.

This is version 1.0.

This version was created on February 2, 2023.
This version was released on February 3, 2023.

Terry Catapano with the assitance of Jeff Beck, Donat Agosti, Lyubomir Penev, Bob
Morris, Scott Federhen, Laura Kelly.
Expand All @@ -16,7 +16,7 @@ Morris, Scott Federhen, Laura Kelly.
<!-- PUBLIC DOCUMENT TYPE DEFINITION -->
<!-- TYPICAL INVOCATION -->
<!--
"-//TaxPub//DTD Taxonomic Treatment Publishing DTD v1.0 20230102//EN"
"-//TaxPub//DTD Taxonomic Treatment Publishing DTD v1.0 20230203//EN"
Delivered as file "tax-treatment.dtd" -->
<!-- ============================================================= -->

Expand All @@ -39,7 +39,7 @@ Morris, Scott Federhen, Laura Kelly.

<!ENTITY % taxpubcustom-modules.ent
PUBLIC
"//TaxPub//DTD Taxonomic Treatment DTD-Specific Modules v1.0 20230202//EN"
"//TaxPub//DTD Taxonomic Treatment DTD-Specific Modules v1.0 20230203//EN"
"taxpubcustom-modules-NS0-v1.ent" >
%taxpubcustom-modules.ent;

Expand Down
2 changes: 1 addition & 1 deletion taxpubcustom-classes-NS0-v1.ent
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- PUBLIC DOCUMENT TYPE DEFINITION -->
<!-- TYPICAL INVOCATION -->
<!--
"-//TaxPub//DTD Taxonomic Treatment Publishing Customize Classes Module v1.0 20230202//EN"
"-//TaxPub//DTD Taxonomic Treatment Publishing Customize Classes Module v1.0 20230203//EN"
Delivered as file "taxpubcustom-classes-NS0-v1.ent" -->
<!-- ============================================================= -->

Expand Down
50 changes: 25 additions & 25 deletions taxpubcustom-elements-NS0-v1.ent
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- PUBLIC DOCUMENT TYPE DEFINITION -->
<!-- TYPICAL INVOCATION -->
<!--
"-//TaxPub//DTD Taxonomic Treatment Publishing Elements v1.0 20230202//EN"
"-//TaxPub//DTD Taxonomic Treatment Publishing Elements v1.0 20230203//EN"
Delivered as file "taxpubcustom-elements-NS0-v1.ent" -->
<!-- ============================================================= -->

Expand All @@ -13,7 +13,7 @@ Delivered as file "taxpubcustom-elements-NS0-v1.ent" -->
%taxpub-namespace-att;
auth-code CDATA #IMPLIED >
<!--~~ <tp:taxon-treatment>
note: A publication or or section of a publication documenting the features or distribution
A publication or or section of a publication documenting the features or distribution
of a related group of organisms (called a "taxon", plural "taxa") in ways adhering to
highly formalized conventions. ~
~~
Expand All @@ -25,7 +25,7 @@ note: A publication or or section of a publication documenting the features or d
<!ATTLIST tp:treatment-meta
%jats-common-atts; >
<!--~~ <tp:treatment-meta>
note: Bibliographic metadata describing at taxonomic treatment ~
Bibliographic metadata describing at taxonomic treatment ~
~~
~~

Expand All @@ -35,7 +35,7 @@ note: Bibliographic metadata describing at taxonomic treatment ~
<!ATTLIST tp:nomenclature
%jats-common-atts; >
<!--~~ <tp:nomenclature>
note: The heading of a taxonomic treatment, with element only content containing the scientific name of the taxon
The heading of a taxonomic treatment, with element only content containing the scientific name of the taxon
described by the treatment, and possibly the authority for the taxon, citations to
previous descriptions, designations of type-genus, and type-species, and other
information. ~
Expand All @@ -49,7 +49,7 @@ note: The heading of a taxonomic treatment, with element only content containing
<!ATTLIST tp:mixed-nomenclature
%jats-common-atts; >
<!--~~ <tp:mixed-nomenclature>
note: The heading of a taxonomic treatment, with possibly mixed content containing text the scientific name of the taxon
The heading of a taxonomic treatment, with possibly mixed content containing text the scientific name of the taxon
described by the treatment, and possibly the authority for the taxon, citations to
previous descriptions, designations of type-genus, and type-species, and other
information. ~
Expand All @@ -62,8 +62,7 @@ note: The heading of a taxonomic treatment, with possibly mixed content containi
<!ELEMENT tp:treatment-sec %taxon-sec-model; >
<!ATTLIST tp:treatment-sec
%sec-atts; >
<!--~~ <tp:treatment-sec>
note: A section of a taxonomic treatment. For example, diagnosis, materials examined,
<!--~~ <tp:treatment-sec A section of a taxonomic treatment. For example, diagnosis, materials examined,
etymology, etc,,, ~
~~
~~
Expand All @@ -75,7 +74,7 @@ note: A section of a taxonomic treatment. For example, diagnosis, materials exam
%jats-common-atts;
role CDATA #IMPLIED>
<!--~~ <tp:taxon-authority>
note: Elements that are linked to the name in the original treatment of a taxon as
Elements that are linked to the name in the original treatment of a taxon as
designated by the authors of the respective original publication. ~
~
~~ model This can be anything from a single author to a whole string including author,
Expand All @@ -89,7 +88,7 @@ note: Elements that are linked to the name in the original treatment of a taxon
%jats-common-atts;
tp:taxon-authority-part-type CDATA #IMPLIED>
<!--~~ <tp:taxon-authority-part>
note: An element that is linked to the name in the original treatment of a taxon as
An element that is linked to the name in the original treatment of a taxon as
designated by the authors of the respective original publication. ~
~~ model This is a single element in of the taxon-authority element. er.g. a single author
(Linnaeus), the year of publication (1758) >~
Expand All @@ -102,7 +101,7 @@ note: An element that is linked to the name in the original treatment of a taxon
%jats-common-atts;
%might-link-atts; >
<!--~~ <tp:taxon-status>
note: The nomenclatorial status of a particular taxon. ~
The nomenclatorial status of a particular taxon. ~
~~ model This can designate an act that happened in an earlier, but cited citation, or
that happens within this treatment. Eg syn. vs. syn. nov.: The former refers to a
synonymy made, the latter to a synonym being proposed in the actual treatment. ~
Expand All @@ -115,7 +114,7 @@ note: The nomenclatorial status of a particular taxon. ~
%jats-common-atts;
%might-link-atts; >
<!--~~ <tp:taxon-identifier>
note: A standard identifier associated with a particular taxon. ~
A standard identifier associated with a particular taxon. ~
~~ model The taxon-identifier could be a LSID or other GUID ~
~~

Expand All @@ -126,7 +125,7 @@ note: A standard identifier associated with a particular taxon. ~
%jats-common-atts;
content-type CDATA #IMPLIED >
<!--~~ <tp:nomenclature-citation-list>
note: A section in a treatment that includes the citation of one or several previous
A section in a treatment that includes the citation of one or several previous
treatments of the taxon. ~
~~
~~
Expand All @@ -137,7 +136,7 @@ note: A section in a treatment that includes the citation of one or several prev
%jats-common-atts;
content-type CDATA #IMPLIED >
<!--~~ <tp:nomenclature-citation>
note: The citation of a nomenclatorial act or other citation of the taxon in the published
The citation of a nomenclatorial act or other citation of the taxon in the published
record. ~
~~
~~
Expand All @@ -148,7 +147,7 @@ note: The citation of a nomenclatorial act or other citation of the taxon in the
<!ATTLIST tp:type-genus
%jats-common-atts; >
<!--~~ <tp:type-genus>
note: The species selected as the reference species at the moment of the description of a
The species selected as the reference species at the moment of the description of a
new genus level taxon. ~
~~
~~
Expand All @@ -159,7 +158,7 @@ note: The species selected as the reference species at the moment of the descrip
<!ATTLIST tp:type-species
%jats-common-atts; >
<!--~~ <tp:type-species>
note: The specimen upon which the species or infraspecific level taxon is based and which is
The specimen upon which the species or infraspecific level taxon is based and which is
explicitly designated as the holotype. ~
~~ model The status is defined by the code, of which the designation as holotype is
requested to create an available name , lectotype the selection of a type from a series
Expand All @@ -184,7 +183,7 @@ note: The specimen upon which the species or infraspecific level taxon is based
<!ATTLIST tp:taxon-type-location
%jats-common-atts; >
<!--~~ <tp:taxon-type-location>
note: The institution where a type specimen is housed. ~
The institution where a type specimen is housed. ~
~~ model From a nomenclatorial point of view the name of depositary institution of the
holotype has to be explicitely mentioned in a treatment of a new species level taxon in
order to create an available name. Acronoyms of the institutions can be used. The
Expand All @@ -204,7 +203,7 @@ note: The institution where a type specimen is housed. ~
rank CDATA #IMPLIED
reg CDATA #IMPLIED >
<!--~~ <tp:taxon-name>
note: The name of a taxon. ~
The name of a taxon. ~
~~ model Generally this is a scientific name following the convention of the Codes ruling
nomenclature (eg International Code for Zoological Nomenclature (ICZN ), but if can also
be a vernacular name as used in field guides. ~
Expand All @@ -219,7 +218,7 @@ note: The name of a taxon. ~
taxon-name-part-type CDATA #REQUIRED
reg CDATA #IMPLIED >
<!--~~ <tp:taxon-name-part>
note: A component of taxonomic name. For example, specific epithet, genus name, etc... ~
A component of taxonomic name. For example, specific epithet, genus name, etc... ~
~~
~~

Expand All @@ -229,7 +228,7 @@ note: A component of taxonomic name. For example, specific epithet, genus name,
%jats-common-atts;
%might-link-atts; >
<!--~~ <tp:descriptive-statement>
note: The description of a morphological trait.~
The description of a morphological trait.~
~~
~~

Expand All @@ -239,7 +238,7 @@ note: The description of a morphological trait.~
%jats-common-atts;
%might-link-atts; >
<!--~~ <tp:descriptive-statement-part>
note: An individual component of a description of a morphological trait. ~
An individual component of a description of a morphological trait. ~
~~ model This can be the character (e.g. head) or the character state (round, ovoid,
red,..) ~
~~
Expand All @@ -250,7 +249,7 @@ note: An individual component of a description of a morphological trait. ~
%jats-common-atts;
%might-link-atts; >
<!--~~ <tp:material-citation>
note: A reference to biological material (e.g., a specimen, an observation) including those
A reference to biological material (e.g., a specimen, an observation) including those
used as the basis of a taxonomic description. ~
~~ model These can be very cursory to very detailed ("Costa Rica" to all the details
recorded during the collection). ~
Expand All @@ -261,7 +260,7 @@ note: A reference to biological material (e.g., a specimen, an observation) incl
<!ATTLIST tp:mayterial-location
%jats-common-atts; >
<!--~~ <tp:material-location>
note: The physical location of the material referenced in the material citation. ~
The physical location of the material referenced in the material citation. ~
~~ model The material-location can be a collection given by its acronym (e.g. AMNH for
American Museum of Natural History, New York) ~
~~
Expand All @@ -271,7 +270,7 @@ note: The physical location of the material referenced in the material citation.
<!ATTLIST tp:collecting-event
%jats-common-atts; >
<!--~~ <tp:collecting-event>
note: The specific spatio-temporal event during which observations have been made or
The specific spatio-temporal event during which observations have been made or
specimens have been collected. ~
~~ model This can refer to a specific collection or many collections made. For example, if
a Malaise trap is set and collected thousands of species, then the collecting-event
Expand All @@ -284,7 +283,7 @@ note: The specific spatio-temporal event during which observations have been mad
<!ATTLIST tp:collecting-location
%jats-common-atts; >
<!--~~ <tp:collecting-location>
note: The specific location or circumscription of the location of a collecting event. ~
The specific location or circumscription of the location of a collecting event. ~
~~
~~

Expand All @@ -294,7 +293,8 @@ note: The specific location or circumscription of the location of a collecting e
%jats-common-atts;
location-type CDATA #IMPLIED >
<!--~~ <tp:location>
note: A named spatial area. ~
A named spatial area.

~~
~~

Expand Down
Loading

0 comments on commit 262a741

Please sign in to comment.