Skip to content

Commit ae04d2d

Browse files
committed
tei.openedition.1.3.2
Fix the reference error to tei.openedition.XXX.xml in xml.xsd and dcr.xsd
1 parent 080394f commit ae04d2d

5 files changed

Lines changed: 2715 additions & 4 deletions

File tree

doc/README.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1-
Validation with online tei.openedition.1.3.1 schema
1+
Validation with online tei.openedition.1.3.2 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.1/tei.openedition.1.3.1.xsd">
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">
9+
10+
11+
12+
13+
Modification de la version du schema TEI (modification de l'ODD)
14+
15+
En cas de modification de la version du schema TEI, il est impératif de modifier dans l'ODD (tei.openedition.XXX.odd.xml) la valeur de l'attribut "ident" de l'élément "schemaSpec" en utilisant le nom du fichier xsd attendu sans l'extension .xsd. C'est nécessaire car c'est sur cette base que seront créées les références à tei.openedition.XXX.xsd dans les fichiers xml.xsd et dcr.xsd.
16+
Exemple dans tei.openedition.1.3.2.odd.xml :
17+
<schemaSpec ident="tei.openedition.1.3.2" start="TEI" source="http://www.tei-c.org/Vault/P5/2.6.0/xml/tei/odd/p5subset.xml">

odd/tei.openedition.odd

Lines changed: 2 additions & 2 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.1</title>
6+
<title>ODD OpenEdition 1.3.2</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" start="TEI"
33+
<schemaSpec ident="tei.openedition.1.3.2" 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=""/>

xsd/tei.openedition.1.3.2/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.3.2.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)