Skip to content

Commit af3aafe

Browse files
committed
tei.openedition.1.4
<bibl> element allowed as child of <body> and <div>
1 parent ae04d2d commit af3aafe

5 files changed

Lines changed: 2753 additions & 7 deletions

File tree

doc/README.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
Validation with online tei.openedition.1.3.2 schema
1+
Validation with online tei.openedition.1.4 schema
22

33

44
<?xml version="1.0" encoding="UTF-8"?>
55
<TEI
66
xmlns="http://www.tei-c.org/ns/1.0"
77
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8-
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 http://lodel.org/ns/tei.openedition.1.3.2/tei.openedition.1.3.2.xsd">
8+
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 http://lodel.org/ns/tei.openedition.1.4/tei.openedition.1.4.xsd">
99

1010

1111

odd/tei.openedition.odd

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<teiHeader>
44
<fileDesc>
55
<titleStmt>
6-
<title>ODD OpenEdition 1.3.2</title>
6+
<title>ODD OpenEdition 1.4</title>
77
</titleStmt>
88
<publicationStmt>
99
<p>Publication Information</p>
@@ -30,7 +30,7 @@
3030
<gi>elementSpec</gi> element. We don't use macros and model classes, in order to
3131
keep the content model definitions easier to read and more straightforward.</p>
3232

33-
<schemaSpec ident="tei.openedition.1.3.2" start="TEI"
33+
<schemaSpec ident="tei.openedition.1.4" start="TEI"
3434
source="http://www.tei-c.org/Vault/P5/2.6.0/xml/tei/odd/p5subset.xml">
3535

3636
<moduleRef key="tei" include=""/>
@@ -56,6 +56,7 @@
5656
<elementRef key="desc"/>
5757
<elementRef key="div"/>
5858
<elementRef key="edition"/>
59+
<elementRef key="editionStmt"/>
5960
<elementRef key="editor"/>
6061
<elementRef key="email"/>
6162
<elementRef key="encodingDesc"/>
@@ -662,12 +663,12 @@
662663
<attDef ident="style" mode="delete"/>
663664
<attDef ident="synch" mode="delete"/>
664665
<attDef ident="to" mode="delete"/>
665-
<attDef ident="type" mode="delete"/>
666+
<attDef ident="unit" mode="delete"/>
666667
<attDef ident="xml:base" mode="delete"/>
667668
<attDef ident="xml:space" mode="delete"/>
668669
</attList>
669670
<remarks>
670-
<p>Authorized attributes: @xml:id, @xml:lang</p>
671+
<p>Authorized attributes: @type, @xml:id, @xml:lang</p>
671672
</remarks>
672673
</elementSpec>
673674

@@ -684,6 +685,7 @@
684685
<rng:ref name="figure"/>
685686
<rng:ref name="p"/>
686687
<rng:ref name="ab"/>
688+
<rng:ref name="bibl"/>
687689
<rng:ref name="list"/>
688690
<rng:ref name="table"/>
689691
<rng:ref name="q"/>
@@ -703,6 +705,7 @@
703705
<rng:ref name="figure"/>
704706
<rng:ref name="p"/>
705707
<rng:ref name="ab"/>
708+
<rng:ref name="bibl"/>
706709
<rng:ref name="list"/>
707710
<rng:ref name="table"/>
708711
<rng:ref name="q"/>
@@ -954,6 +957,7 @@
954957
<rng:ref name="figure"/>
955958
<rng:ref name="p"/>
956959
<rng:ref name="ab"/>
960+
<rng:ref name="bibl"/>
957961
<rng:ref name="table"/>
958962
<rng:ref name="q"/>
959963
<rng:ref name="quote"/>
@@ -972,6 +976,7 @@
972976
<rng:ref name="figure"/>
973977
<rng:ref name="p"/>
974978
<rng:ref name="ab"/>
979+
<rng:ref name="bibl"/>
975980
<rng:ref name="list"/>
976981
<rng:ref name="table"/>
977982
<rng:ref name="q"/>
@@ -1512,7 +1517,7 @@
15121517

15131518

15141519

1515-
<elementSpec ident="hi" module="core" mode="change">
1520+
<elementSpec ident="hi" mode="change">
15161521
<content>
15171522
<rng:zeroOrMore>
15181523
<rng:choice>

xsd/tei.openedition.1.4/dcr.xsd

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.isocat.org/ns/dcr" xmlns:dcr="http://www.isocat.org/ns/dcr" xmlns:ns1="http://www.tei-c.org/ns/1.0">
3+
<xs:import namespace="http://www.tei-c.org/ns/1.0" schemaLocation="tei.openedition.1.4.xsd"/>
4+
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
5+
<xs:attribute name="datcat">
6+
<xs:annotation>
7+
<xs:documentation>contains a PID (persistent identifier) that aligns the given element with the appropriate Data Category (or categories) in ISOcat.</xs:documentation>
8+
</xs:annotation>
9+
<xs:simpleType>
10+
<xs:restriction>
11+
<xs:simpleType>
12+
<xs:list itemType="ns1:data.pointer"/>
13+
</xs:simpleType>
14+
<xs:minLength value="1"/>
15+
</xs:restriction>
16+
</xs:simpleType>
17+
</xs:attribute>
18+
<xs:attribute name="valueDatcat">
19+
<xs:annotation>
20+
<xs:documentation>contains a PID (persistent identifier) that aligns the content of the given element or the value of the given attribute with the appropriate simple Data Category (or categories) in ISOcat.</xs:documentation>
21+
</xs:annotation>
22+
<xs:simpleType>
23+
<xs:restriction>
24+
<xs:simpleType>
25+
<xs:list itemType="ns1:data.pointer"/>
26+
</xs:simpleType>
27+
<xs:minLength value="1"/>
28+
</xs:restriction>
29+
</xs:simpleType>
30+
</xs:attribute>
31+
</xs:schema>

0 commit comments

Comments
 (0)