Skip to content

Commit c99a689

Browse files
committed
Grab latest from dev
2 parents da60e4b + c27b080 commit c99a689

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+608
-583
lines changed

P5/Source/Guidelines/en/AB-About.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ Guidelines, to the possible problems which revision might pose for those
821821
who are already using this version of these Guidelines.
822822
</p>
823823
<p>With TEI P5, a version numbering system is introduced following
824-
<ref target="http://unicode.org/versions/">the pattern specified by
824+
<ref target="https://unicode.org/versions/">the pattern specified by
825825
the Unicode Consortium</ref>: the first digit identifies a major
826826
version number, the second digit a minor version number, and the
827827
third digit a sub-minor version number. The TEI undertakes that no

P5/Source/Guidelines/en/BIB-Bibliography.xml

+6-1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ $Id$
7575
<bibl xml:id="biblzh-tw_n25" xml:lang="zh-TW">白先勇,〈金大班的最後一夜〉,《台北人》。</bibl>
7676
<bibl xml:id="biblzh-tw_n26" xml:lang="zh-TW">白先勇,《孽子》。</bibl>
7777
<bibl xml:id="biblzh-tw_n59" xml:lang="zh-TW">白居易,《憶江南》。</bibl>
78+
<bibl xml:id="OTrim1.1">
79+
<title>Amheida I: Ostraka from Trimithis Volume 1: Texts from the 2004–2007 Seasons</title>,
80+
<editor>Bagnall, R. S. and G. R. Ruffini, with contributions by R. Cribiore and G. Vittmann</editor>
81+
(<date>2012</date>).
82+
</bibl>
7883
<bibl xml:id="NZETC01">
7984
<author>Baker, James K.</author>. <title>Night in Tarras</title>. In <title level="j"
8085
>Hilltop: A Literary Paper</title>, vol 1 no 2. Wellington: Victoria University College
@@ -6154,7 +6159,7 @@ $Id$
61546159
<surname>Hawke</surname>
61556160
</editor>
61566161
<title level="m">The 'tag' URI Scheme</title>
6157-
<ptr target="http://www.ietf.org/rfc/rfc4151.txt"/>
6162+
<ptr target="https://www.ietf.org/rfc/rfc4151.txt"/>
61586163
<idno>RFC 4151</idno>
61596164
<imprint>
61606165
<date>2005</date>

P5/Source/Guidelines/en/CH-LanguagesCharacterSets.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ sublanguage), a script, and a region for the language, each possibly
9797
followed by a variant subtag.</p>
9898
<p>The authoritative list of registered subtags is maintained by IANA
9999
and is available at <ptr
100-
target="http://www.iana.org/assignments/language-subtag-registry"/>.
100+
target="https://www.iana.org/assignments/language-subtag-registry"/>.
101101
For a good general overview of the construction of language tags, see
102102
<ptr
103103
target="https://www.w3.org/International/articles/language-tags/"/>,

P5/Source/Guidelines/en/DI-PrintDictionaries.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ result, many general problems of text encoding are particularly
2929
pronounced here, and more compromises and alternatives within the
3030
encoding scheme may be required in the future.<note place="bottom">We
3131
refer the reader to previous and current discussions of a common
32-
format for encoding lexical resources. For example, <ptr type="cit" target="#DI-BIBL-1"/>; <ptr type="cit" target="#DI-BIBL-2"/>;<ptr type="cit" target="#DI-BIBL-3"/>; <ptr type="cit" target="#DI-BIBL-4"/>; <ptr type="cit" target="#DI-BIBL-5"/>; <ptr type="cit" target="#DI-BIBL-6"/>; <ptr type="cit" target="#DI-BIBL-7"/>; and <ptr type="cit" target="#DI-BIBL-8"/>; <ptr type="cit" target="#DI-BIBL-9"/>.</note> Two problems are particularly
32+
format for encoding lexical resources. For example, <ptr type="cit" target="#DI-BIBL-1"/>; <ptr type="cit" target="#DI-BIBL-2"/>; <ptr type="cit" target="#DI-BIBL-3"/>; <ptr type="cit" target="#DI-BIBL-4"/>; <ptr type="cit" target="#DI-BIBL-5"/>; <ptr type="cit" target="#DI-BIBL-6"/>; <ptr type="cit" target="#DI-BIBL-7"/>; and <ptr type="cit" target="#DI-BIBL-8"/>; <ptr type="cit" target="#DI-BIBL-9"/>.</note> Two problems are particularly
3333
prominent.</p>
3434

3535
<p>First, because the structure of dictionary entries varies widely
@@ -1982,8 +1982,7 @@ derivatives or inflected forms of the entry word, or for compound words, phrases
19821982
collocations, and idioms containing the entry word. </p>
19831983
<p>Related entries can be complex, and may in fact include any of the information to be
19841984
found in a regular entry. Therefore, the <gi>re</gi> element is defined to contain
1985-
the same elements as an <gi>entry</gi> element, with the exception that it may not
1986-
contain any nested <gi>re</gi> elements. </p>
1985+
the same elements as an <gi>entry</gi> element. </p>
19871986
<p>Examples:<q rend="display">
19881987
<hi rend="bold">bevvy</hi>
19891988
<code lang="ipa">(ˈbɛvɪ)</code> <emph>informal</emph> n, pl <hi rend="bold">-vies</hi> <hi rend="bold">1</hi> a drink, esp an

P5/Source/Guidelines/en/ND-NamesDates.xml

+1
Original file line numberDiff line numberDiff line change
@@ -2907,6 +2907,7 @@ Journal r&#xE9;dig&#xE9; par Camille Desmoulins</title>,
29072907
<xi:include href="../../Specs/att.personal.xml"/>
29082908
<xi:include href="../../Specs/model.placeLike.xml"/>
29092909
<xi:include href="../../Specs/att.datable.iso.xml"/>
2910+
<!--<xi:include href="../../Specs/att.calendarSystem.xml"/>--><!-- Uncomment this after @calendar is deprecated on att.datable -->
29102911
<xi:include href="../../Specs/att.duration.iso.xml"/>
29112912
<xi:include href="../../Specs/teidata.temporal.iso.xml"/>
29122913
<xi:include href="../../Specs/teidata.duration.iso.xml"/>

P5/Source/Guidelines/en/SA-LinkingSegmentationAlignment.xml

+30-32
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ XPointer schemes.</item>
467467
<p>All TEI attributes used to point at something else are declared as
468468
having the datatype <ident type="datatype">teidata.pointer</ident>, which
469469
is defined as a URI reference<note place="bottom">The URI (Universal
470-
Resource Indicator) is defined in <ref target="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986</ref></note>; the
470+
Resource Indicator) is defined in <ref target="https://www.ietf.org/rfc/rfc3986.txt">RFC 3986</ref></note>; the
471471
cases so far discussed are all simple examples of a URI
472472
reference. Another familiar example is the mechanism used in XHTML to
473473
create represent hypertext links by means of the XHTML <att scheme="XHTML">href</att> attribute. A URI reference can reference the
@@ -687,7 +687,7 @@ chapter and elsewhere in these Guidelines. </p>
687687

688688
Any number of <gi>prefixDef</gi> elements may be provided for the same prefix. A processor may decide to process one or all of them; if it processes only one, it should choose the first one with the correct <att>ident</att> value, so the primary or most important <gi>prefixDef</gi> for any given prefix should appear first in its parent <gi>listPrefixDef</gi>.</p>
689689

690-
<p>When creating private URI schemes, it is recommended that you avoid using any existing registered prefix. A list of registered prefixes is maintained by IANA at <ptr target="http://www.iana.org/assignments/uri-schemes.html"/>.</p>
690+
<p>When creating private URI schemes, it is recommended that you avoid using any existing registered prefix. A list of registered prefixes is maintained by IANA at <ptr target="https://www.iana.org/assignments/uri-schemes.html"/>.</p>
691691

692692
<p>Note that this mechanism can also be used to dereference other abbreviated pointing systems which are based on prefixes, such as Tag URIs.</p>
693693

@@ -746,13 +746,12 @@ kinds of object:
746746
<list type="gloss">
747747
<label>Node</label>
748748
<item>A node is an instance of one of the node kinds defined in
749-
the <ref target="https://www.w3.org/TR/xpath-datamodel/">XQuery
750-
1.0 and XPath 2.0 Data Model (Second Edition)</ref>. It represents
749+
the <ref target="https://www.w3.org/TR/xpath-datamodel/">XQuery and XPath Data Model 3.1</ref>. It represents
751750
a single item in the XML information set for a document. For pointing
752751
purposes, the only nodes that are of interest are Text Nodes,
753752
Element Nodes, and Attribute Nodes.</item>
754753
<label>Sequence</label>
755-
<item>A Sequence follows the definition in the XPath 2.0 Data
754+
<item>A Sequence follows the definition in the XPath 3.1 Data
756755
Model, with one alteration. A Sequence is an ordered collection
757756
of zero or more items, where an item is either a node or a partial
758757
text node.
@@ -829,7 +828,7 @@ scheme.</p>
829828
<head>xpath()</head>
830829
<p><code>Sequence xpath(XPATH)</code></p>
831830
<p>The <name type="xpscheme">xpath()</name> scheme locates zero or more nodes within an XML
832-
Information Set. The single argument <rs>XPATH</rs> is an XPath selection pattern, as
831+
Information Set. The single argument XPATH is an XPath selection pattern, as
833832
defined in <ref target="https://www.w3.org/TR/xslt-30/#dt-selection-pattern">XSLT
834833
3.0</ref>, that returns a node or sequence of nodes. XPaths returning atomic values
835834
(e.g. <name>substring()</name>) are illegal in the <name type="xpscheme">xpath()</name>
@@ -839,9 +838,9 @@ scheme.</p>
839838
attribute nodes should be avoided in schemes other than <name type="xpscheme"
840839
>xpath()</name>. </p>
841840
<p>The example below, and all subsequent examples in this section refer
842-
to the following TEI fragment<anchor xml:id="SATSXP-ex"/>:
841+
to the following TEI fragment:
843842
<!-- Ostrakon from Trimithis (O.Trim 1, 1) http://papyri.info/ddbdp/o.trim;1;1 -->
844-
<egXML xmlns="http://www.tei-c.org/ns/Examples">
843+
<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="SATSXP-ex" source="#OTrim1.1">
845844
<div xml:lang="la" type="edition" xml:space="preserve"><ab>
846845
<lb n="1" xml:id="line1"/><supplied reason="lost">si</supplied> non <choice><reg>habui</reg><orig>abui</orig></choice> quidquam vaco
847846
<lb n="2"/>si<gap reason="illegible" quantity="3" unit="character"/>b<gap reason="illegible" quantity="3" unit="character"/>
@@ -882,11 +881,11 @@ recommended when possible.</p>
882881

883882
<div type="div4" xml:id="SATSL">
884883
<head>left()</head>
885-
<p><rs>Point</rs> <code>left( IDREF | XPATH )</code></p>
884+
<p><code>Point left( IDREF | XPATH )</code></p>
886885
<p>The <name type="xpscheme">left()</name> scheme locates the
887886
point immediately preceding the node addressed by its argument,
888-
which is either an <rs>XPATH</rs> as defined above or an
889-
<rs>IDREF</rs>, the value of an <att>xml:id</att>
887+
which is either an XPATH as defined above or an
888+
IDREF, the value of an <att>xml:id</att>
890889
occurring in the document addressed by the base URI in effect
891890
for the pointer.</p>
892891
<p>Example: the pointer <code>#left(//supplied[1])</code>
@@ -895,11 +894,11 @@ indicates the point between the first <code>lb</code> and the first
895894
<p>Example: <code>#left(//gap[1])</code> indicates the point immediately before
896895
the first <code>gap</code> element in line two and the string <code>si</code>.</p>
897896
<p>Example: <code>#left(line1)</code> indicates the point immediately before
898-
the <code><![CDATA[<lb n="1"/>]]></code> element.</p></div>
897+
the <tag>lb n="1"</tag> element.</p></div>
899898

900899
<div type="div4" xml:id="SATSR">
901900
<head>right()</head>
902-
<p><rs>Point</rs> <code>right( IDREF | XPATH )</code></p>
901+
<p><code>Point right( IDREF | XPATH )</code></p>
903902
<p>The <name type="xpscheme">right()</name> scheme locates the
904903
point immediately following the node addressed by its argument.</p>
905904
<p>Example: the pointer <code>#right(//lb[@n='3'])</code>
@@ -910,12 +909,12 @@ in the <ref target="#SATSXP-ex">example</ref>.</p>
910909

911910
<div type="div4" xml:id="SATSSI">
912911
<head>string-index()</head>
913-
<p><rs>Point</rs> <code>string-index( IDREF | XPATH, OFFSET )</code></p>
912+
<p><code>Point string-index( IDREF | XPATH, OFFSET )</code></p>
914913
<p>The <name type="xpscheme">string-index()</name> scheme locates a
915914
point based on character positions in a text stream relative
916-
to the node identified by the IDREF or XPATH parameter. The <rs>OFFSET</rs>
915+
to the node identified by the IDREF or XPATH parameter. The OFFSET
917916
parameter is a positive, negative, or zero integer which determines
918-
the position of the <rs>point</rs>. An offset of 0 represents the
917+
the position of the point. An offset of 0 represents the
919918
position immediately before the first character in either the first
920919
text node descendant of the node addressed in the first parameter or the
921920
first following text node, if the addressed element contains
@@ -925,13 +924,12 @@ between the <q>s</q> and the <q>i</q> in the word <q>si</q> in line 2.</p>
925924
<p><hi rend="bold">Note</hi>: The OFFSET parameter (and similarly the
926925
LENGTH parameter found below in the <name type="xpscheme">string-range()</name>
927926
scheme) are measured in characters. What is considered a single character will
928-
depend (assuming the document being evaluated is in Unicode) on the
929-
Normalization Form in use (see
927+
depend on the Normalization Form in use (see
930928
<ref target="https://unicode.org/reports/tr15/">UNICODE NORMALIZATION
931929
FORMS</ref>). A letter followed by a combining diacritic counts as two
932930
characters, but the same diacritic precombined with a letter would count
933-
as a single character. Compare, for example, &#xE9; (<code>\u0060</code>
934-
followed by <code>\u0301</code>) and &#xE9; (<code>\u00E9</code>). These are
931+
as a single character. Compare, for example, &#xE9; (U+0060
932+
followed by U+0301) and &#xE9; (>U+00E9). These are
935933
equivalent, and a conversion between Normalization Forms C and D will
936934
transform one into the other. This specification does not mandate a
937935
particular Normalization Form (see <ptr target="#D4-46-2"/>), but
@@ -942,15 +940,15 @@ counting.</p>
942940

943941
<div type="div4" xml:id="SATSRN">
944942
<head>range()</head>
945-
<p><rs>Sequence</rs> <code>range( POINTER, POINTER[, POINTER, POINTER ...])</code></p>
943+
<p><code>Sequence range( POINTER, POINTER[, POINTER, POINTER ...])</code></p>
946944
<p>The <name type="xpscheme">range()</name> scheme takes as parameters one
947-
or more pairs of <rs>POINTER</rs>s, which are each members of the set <rs>IDREF</rs>,
948-
<rs>XPATH</rs>, <name type="xpscheme">left()</name>,
945+
or more pairs of POINTERs, which are each members of the set IDREF,
946+
XPATH, <name type="xpscheme">left()</name>,
949947
<name type="xpscheme">right()</name>, or
950948
<name type="xpscheme">string-index()</name>. A
951949
<name type="xpscheme">range()</name> locates a (possibly non-contiguous)
952950
sequence beginning at the first POINTER parameter and ending at the
953-
last. If the POINTER locates a node (i.e. is an XPATH or IDREF), then
951+
last. If a POINTER locates a node (i.e. is an XPATH or IDREF), then
954952
that node is a member of the addressed sequence. If a sequence addressed
955953
by a range pointer overlaps, but does not wholly contain, an element
956954
(i.e. it contains only the start but not the end tag or vice-versa),
@@ -964,24 +962,24 @@ the whole of <ref target="#SATSXP-ex">line 3</ref> from the
964962
<code><![CDATA[<lb n="3"/>]]></code> to the point right before the
965963
following <code><![CDATA[<lb n="4"/>]]></code>.</p>
966964
<p>Example: <code>#range(right(//lb[@n='3']),string-index(//lb[@n='3'],15))</code>
967-
indicates the sequence <code><![CDATA[<unclear>s</unclear>emp<unclear>er</unclear> in mente]]></code>.</p>
965+
indicates the sequence <code><![CDATA[<unclear>s</unclear>emp<unclear>er</unclear> in mente]]></code> (an element, a text node, another element, and a partial text node).</p>
968966
<p>Example: <code>#range(string-index(//lb[@n='3'],7),string-index(//lb[@n='3'],10),string-index(//lb[@n='3'],15),string-index(//lb[@n='3'],21))</code> indicates
969967
the non-contiguous sequence <q>in mentem</q>.</p>
970968
</div>
971969

972970
<div type="div4" xml:id="SATSSR">
973971
<head>string-range()</head>
974-
<p><rs>Sequence</rs> <code>string-range(IDREF | XPATH, OFFSET, LENGTH[, OFFSET, LENGTH ...])</code></p>
972+
<p><code>Sequence string-range(IDREF | XPATH, OFFSET, LENGTH[, OFFSET, LENGTH ...])</code></p>
975973
<p>The string-range() scheme
976974
locates a sequence based on character positions in a text stream relative
977975
to the node identified by the first parameter. The location of the
978976
beginning of the addressed sequence is determined precisely
979-
as for <name type="xpscheme">string-index()</name>. The <rs>OFFSET</rs>
977+
as for <name type="xpscheme">string-index()</name>. The OFFSET
980978
parameter is defined as above in <name type="xpscheme">string-index()</name>.
981-
The <rs>LENGTH</rs> parameter is a positive integer that denotes
979+
The LENGTH parameter is a positive integer that denotes
982980
the length of the text stream captured by the sequence. As with
983981
<name type="xpscheme">range()</name>, the addressed sequence may
984-
contain text nodes and/or elements. The
982+
contain text nodes and elements. The
985983
<name type="xpscheme">string-range()</name> scheme can accept multiple
986984
OFFSET, LENGTH pairs to address a non-contiguous sequence in much the
987985
same way that range() can accept multiple pairs of pointers.</p>
@@ -1002,7 +1000,7 @@ the non-contiguous sequence <q>in mentem</q>.</p>
10021000

10031001
<div type="div4" xml:id="SATSMA">
10041002
<head>match()</head>
1005-
<p><rs>Sequence</rs> <code>match(IDREF | XPATH, 'REGEX' [, INDEX])</code></p>
1003+
<p><code>Sequence match(IDREF | XPATH, 'REGEX' [, INDEX])</code></p>
10061004
<p>The match scheme locates a sequence based on matching the REGEX parameter
10071005
against a text stream relative to the reference node identified by the first
10081006
parameter. REGEX is a regular expression as defined by
@@ -1011,7 +1009,7 @@ parameter. REGEX is a regular expression as defined by
10111009
modifications:
10121010
<list>
10131011
<item>Because the regular expression is delimited by apostrophe
1014-
characters, any such characters (<code>'</code> or <code>\u0027</code>)
1012+
characters, any such characters (<code>'</code> or U+0027)
10151013
occurring inside the expression must be escaped using the URI
10161014
percent-encoding scheme <code>%27</code>. </item>
10171015
<item>Regular expressions in <code>match()</code> are assumed to
@@ -1026,7 +1024,7 @@ modifications:
10261024
</list>
10271025
The optional INDEX parameter is an integer greater than 0 which specifies which
10281026
match should be chosen when there is more than one possibility. If omitted, the
1029-
first match in the text stream will be used.</p>
1027+
first match in the text stream will be used to resolve the <code>match()</code>.</p>
10301028
<p>Like <code>string-range()</code>, <code>match()</code> may capture elements
10311029
in the indicated sequence, even though they are ignored for purposes of evaluating
10321030
the match.</p>

0 commit comments

Comments
 (0)