Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making bibl, and others, member of att.canonical. #2655

Merged
merged 9 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions P5/Source/Guidelines/en/CO-CoreElements.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4201,6 +4201,17 @@ encoding of short-form references such as <mentioned>Baxter,
1983</mentioned> is not as <gi>bibl</gi> elements but as
cross-references to such elements; see section <ptr target="#COBIXR"/>
below. </p>
<p>
Bibliographic references encoded with <gi>bibl</gi>, <gi>biblFull</gi>, or <gi>biblStruct</gi> may link to another, possibly more detailed, bibliographic reference to the same resource using either the attribute <att>ref</att> or <att>key</att> defined in <ident type="class">att.canonical</ident>. The <att>ref</att> attribute performs this linking function using a URI that may point either within or outside the TEI document, as shown in the following example:
<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="COBITY-egXML-bibref" source="#NONE">
<bibl ref="https://search.worldcat.org/title/song-of-achilles/oclc/911117343"><title>The song of Achilles</title> by <author>Madeline Miller</author>.</bibl>
</egXML>
The <att>key</att> attribute, on the other hand, links a bibliographical reference to an externally- or project-defined identifier as demonstrated here:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@raffazizzi Here, I think I would modify the phrasing slightly to avoid the word "links." I'd also change "externally-" to "external". Maybe something like this:

The <att>key</att> attribute, on the other hand, associates a bibliographical reference to an external or project-defined identifier, as demonstrated here:

<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="COBITY-egXML-bibkey" source="#NONE">
<bibl key="Homer_Iliad.16">Book 16 of <author>Homer</author>'s <title>Iliad</title>.</bibl>
</egXML>
These attributes should not be used for encoding bibliographic pointers (short-form citations); for that purpose, see section <ptr target="#COBIXR"/> below.
</p>
<p>In cases where the encoder wishes to impose more structure on the
bibliographic information, for example to make sure it conforms to a
particular stylesheet or retrieval processor, the <gi>biblStruct</gi>
Expand Down Expand Up @@ -5476,8 +5487,8 @@ following example:
normalize bibliographic references: <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="COBIXR-egXML-cc" source="#NONE">Nelson claims (<ref target="#NEL80">Nelson [1980]</ref> pages 13–37)
...</egXML>
If it is desired to capture additional information like this in a short-form
reference, then <gi>bibl</gi> may be used with the <att>corresp</att> attribute pointing to
the full bibliographic reference: <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="COBIXR-egXML-hi" source="#NONE">Nelson claims (<bibl corresp="#NEL80">Nelson [1980] pages <biblScope unit="page" from="13" to="37">13–37</biblScope></bibl>) ...</egXML>
reference, then <gi>bibl</gi> may be used with the <att>ref</att> attribute pointing to
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part looks good to me!

the full bibliographic reference: <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="COBIXR-egXML-hi" source="#NONE">Nelson claims (<bibl ref="#NEL80">Nelson [1980] pages <biblScope unit="page" from="13" to="37">13–37</biblScope></bibl>) ...</egXML>
</p>
<p>The <gi>ref</gi> element may also be used to provide a reference to a copy of the bibliographic item itself, particularly if this is available online, as in the following example:
<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="COBIXR-egXML-ad" source="#NONE">
Expand Down
1 change: 1 addition & 0 deletions P5/Source/Specs/bibl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
ausgezeichnet sein können.</desc>
<classes>
<memberOf key="att.global"/>
<memberOf key="att.canonical"/>
<memberOf key="att.cmc"/>
<memberOf key="att.declarable"/>
<memberOf key="att.docStatus"/>
Expand Down
1 change: 1 addition & 0 deletions P5/Source/Specs/biblFull.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
strutturata nella quale sono presenti tutti i componenti di descrizione di un file TEI.</desc>
<classes>
<memberOf key="att.global"/>
<memberOf key="att.canonical"/>
<memberOf key="att.cmc"/>
<memberOf key="att.declarable"/>
<memberOf key="att.docStatus"/>
Expand Down
1 change: 1 addition & 0 deletions P5/Source/Specs/biblStruct.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
contenere solo altri elemento nell'ordine specificato.</desc>
<classes>
<memberOf key="att.global"/>
<memberOf key="att.canonical"/>
<memberOf key="att.cmc"/>
<memberOf key="att.declarable"/>
<memberOf key="att.docStatus"/>
Expand Down
Loading