Skip to content

Commit 3e98e61

Browse files
merge release-4.5.0 into released
2 parents ff9cc28 + 871244c commit 3e98e61

838 files changed

Lines changed: 10363 additions & 6455 deletions

File tree

Some content is hidden

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

.github/workflows/generate-spec-lists.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@ on:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
1012
steps:
1113
- uses: actions/checkout@v2
1214
- uses: ./.github/actions/generate-spec-lists
1315
- uses: stefanzweifel/git-auto-commit-action@v4
1416
with:
17+
commit_user_name: ${{ github.actor }}
1518
commit_message: Re-generated spec lists.
16-
19+

I18N/glossary.odd

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_customization.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
3+
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_customization.rng" type="application/xml"
4+
schematypens="http://purl.oclc.org/dsdl/schematron"?>
5+
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:lang="en">
6+
<teiHeader>
7+
<fileDesc>
8+
<titleStmt>
9+
<title><!-- name of markup language being defined goes here --></title>
10+
<author><!-- primary author --></author>
11+
<editor><!-- editor or secondary author --></editor>
12+
</titleStmt>
13+
<publicationStmt>
14+
<publisher>TEI Internationalization Working Group</publisher>
15+
<!-- put <publisher>, <distributor>, or <authority> here -->
16+
<!-- put <availability> and other optional details about-->
17+
<!-- the publisher, distributor, or release authority here -->
18+
</publicationStmt>
19+
<sourceDesc>
20+
<p>born digital</p>
21+
</sourceDesc>
22+
</fileDesc>
23+
</teiHeader>
24+
<text>
25+
<body>
26+
<head><!-- name of markup language being defined can be repeated here --></head>
27+
<p><!-- prose description of, and explanation of, markup language goes here;
28+
you can use any TEI constructs you like, including multiple paragarphs,
29+
tables, nested divisions, etc. Furthermore, <specGrp> elements may
30+
be used to include snippets of schema definitions, and <specList>
31+
can be used to include to insert a list of descriptions of elements
32+
and attributes. --></p>
33+
<schemaSpec ident="TEI-Glossary"> <!-- @ident is required -->
34+
<desc><!-- put a one-sentence description of this TEI customization here --></desc>
35+
<moduleRef key="tei"/>
36+
<moduleRef key="core" include="list item desc label gloss title p note hi ref"/>
37+
<moduleRef key="header" except="abstract appInfo application authority biblFull cRefPattern calendar calendarDesc catDesc catRef category change citeData citeStructure classCode classDecl conversion correction correspAction correspContext correspDesc creation distributor edition editionStmt editorialDecl encodingDesc extent funder geoDecl handNote hyphenation idno interpretation keywords listPrefixDef namespace normalization notesStmt prefixDef principal profileDesc projectDesc punctuation quotation refState refsDecl rendition samplingDecl schemaRef scriptNote segmentation seriesStmt sponsor stdVals styleDefDecl tagUsage tagsDecl taxonomy textClass unitDecl unitDef xenoData"/>
38+
<moduleRef key="textstructure" include="body TEI div text"/>
39+
<moduleRef key="tagdocs" include="eg gi att code"/>
40+
<!-- ODD-specific elements like <elementSpec> and <classSpec>;
41+
or references to <specGrp>s defined above using <specGrpRef>. -->
42+
<classSpec type="atts" ident="att.global" mode="change">
43+
<attList>
44+
<attDef ident="xml:lang" mode="change">
45+
<datatype><dataRef key="teidata.enumerated"/></datatype>
46+
<valList type="closed" mode="add">
47+
<valItem ident="en">
48+
<gloss xml:lang="en">English</gloss>
49+
</valItem>
50+
<valItem ident="es">
51+
<gloss xml:lang="en">Spanish</gloss>
52+
</valItem>
53+
<valItem ident="de">
54+
<gloss xml:lang="en">German</gloss>
55+
</valItem>
56+
<valItem ident="it">
57+
<gloss xml:lang="en">Italian</gloss>
58+
</valItem>
59+
<valItem ident="ja">
60+
<gloss xml:lang="en">Japanese</gloss>
61+
</valItem>
62+
<valItem ident="ko">
63+
<gloss xml:lang="en">Korean</gloss>
64+
</valItem>
65+
<valItem ident="zh-TW">
66+
<gloss xml:lang="en">Chinese</gloss>
67+
</valItem>
68+
</valList>
69+
</attDef>
70+
</attList>
71+
</classSpec>
72+
<elementSpec ident="body" mode="change" module="textstructure">
73+
<content>
74+
<elementRef key="div" minOccurs="1" maxOccurs="1"/>
75+
</content>
76+
</elementSpec>
77+
<elementSpec ident="div" mode="change" module="textstructure">
78+
<content>
79+
<sequence>
80+
<elementRef key="p" minOccurs="0" maxOccurs="unbounded"/>
81+
<elementRef key="list" minOccurs="1" maxOccurs="1"/>
82+
</sequence>
83+
</content>
84+
</elementSpec>
85+
<elementSpec ident="desc" mode="change" module="core">
86+
<attList>
87+
<attDef ident="xml:lang" mode="change" usage="req"/>
88+
<attDef ident="versionDate" mode="change" usage="req"/>
89+
</attList>
90+
</elementSpec>
91+
<elementSpec ident="gloss" mode="change" module="core">
92+
<attList>
93+
<attDef ident="xml:lang" mode="change" usage="req"/>
94+
<attDef ident="versionDate" mode="change" usage="req"/>
95+
</attList>
96+
</elementSpec>
97+
<elementSpec ident="item" mode="change" module="core">
98+
<content>
99+
<sequence>
100+
<elementRef key="label" minOccurs="1" maxOccurs="1"/>
101+
<elementRef key="gloss" minOccurs="1" maxOccurs="unbounded"/>
102+
<elementRef key="desc" minOccurs="0" maxOccurs="unbounded"/>
103+
<elementRef key="eg" minOccurs="0" maxOccurs="unbounded"/>
104+
<elementRef key="note" minOccurs="0" maxOccurs="unbounded"/>
105+
</sequence>
106+
</content>
107+
</elementSpec>
108+
<elementSpec ident="list" mode="change" module="core">
109+
<content>
110+
<elementRef key="item" minOccurs="1" maxOccurs="unbounded"/>
111+
</content>
112+
</elementSpec>
113+
<elementSpec ident="label" mode="change" module="core">
114+
<constraintSpec ident="uniqlabel" scheme="schematron" mode="add">
115+
<constraint>
116+
<report xmlns="http://purl.oclc.org/dsdl/schematron" test="../preceding-sibling::tei:item/tei:label = . or ../following-sibling::tei:item/tei:label = .">Labels must be unique.</report>
117+
</constraint>
118+
</constraintSpec>
119+
</elementSpec>
120+
</schemaSpec>
121+
</body>
122+
</text>
123+
</TEI>

0 commit comments

Comments
 (0)