Skip to content

Commit 080394f

Browse files
committed
tei.openedition.1.3.1
Element added : <gloss>
1 parent 718b24b commit 080394f

5 files changed

Lines changed: 2760 additions & 81 deletions

File tree

doc/README.txt

Lines changed: 8 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,8 @@
1-
08/04/2013
2-
3-
Les modifications suivantes sont � faire sur le sch�ma W3C fourni par Roma pour le rendre valide et fonctionnel.
4-
5-
6-
7-
Dans le fichier principal (tei.openedition.1.0.xsd) :
8-
9-
1. Supprimer tous les " form=unqualified" en les rempla�ant par "" (cha�ne vide). Il y a 24 occurences.
10-
11-
12-
13-
2. Dans la d�finition de l'�l�ment 'list', dans la d�finition de son attribut 'type', supprimer la cha�ne 'default="simple"'
14-
15-
<xs:element name="list">
16-
<xs:annotation>
17-
<xs:documentation> (liste) contient une suite d'items ordonn�s dans une liste. [3.7. ]</xs:documentation>
18-
</xs:annotation>
19-
<xs:complexType>
20-
<xs:group maxOccurs="unbounded" ref="ns1:item"/>
21-
<xs:attributeGroup ref="ns1:att.global.attribute.xmlid"/>
22-
<xs:attributeGroup ref="ns1:att.global.attribute.rend"/>
23-
<xs:attributeGroup ref="ns1:att.global.attribute.rendition"/>
24-
<xs:attribute name="type" default="simple"> <!-- // ICI \\ -->
25-
<xs:annotation>
26-
<xs:documentation>d�crit la forme de la liste.</xs:documentation>
27-
</xs:annotation>
28-
<xs:simpleType>
29-
<xs:restriction base="xs:token">
30-
<xs:enumeration value="ordered"/>
31-
<xs:enumeration value="unordered"/>
32-
</xs:restriction>
33-
</xs:simpleType>
34-
</xs:attribute>
35-
</xs:complexType>
36-
</xs:element>
37-
38-
39-
40-
3. En t�te de fichier, supprimer la ligne suivante :
41-
<xs:import namespace="http://www.isocat.org/ns/dcr" schemaLocation="dcr.xsd"/>
42-
43-
Une erreur de validation apparait, li�e � la disparition de l'espace de nom "dcr".
44-
45-
46-
47-
4. Supprimer la s�quence suivante qui utilise l'espace de nom dcr :
48-
49-
<xs:attributeGroup name="att.datcat.attribute.datcat">
50-
<xs:attribute ref="dcr:datcat"/>
51-
</xs:attributeGroup>
52-
<xs:attributeGroup name="att.datcat.attribute.valueDatcat">
53-
<xs:attribute ref="dcr:valueDatcat"/>
54-
</xs:attributeGroup>
55-
56-
57-
58-
5. Supprimer la d�claration de l'espace de nom dcr dans la balise racine :
59-
xmlns:dcr="http://www.isocat.org/ns/dcr"
60-
61-
62-
63-
6. En t�te de fichier, remplacer la ligne suivante :
64-
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
65-
Par celle-ci :
66-
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
67-
68-
69-
70-
7. Supprimer les fichiers dcr.xsd et xml.xsd
1+
Validation with online tei.openedition.1.3.1 schema
2+
3+
4+
<?xml version="1.0" encoding="UTF-8"?>
5+
<TEI
6+
xmlns="http://www.tei-c.org/ns/1.0"
7+
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">

odd/tei.openedition.odd

Lines changed: 50 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0">
33
<teiHeader>
44
<fileDesc>
55
<titleStmt>
6-
<title>Lodel ODD-2</title>
6+
<title>ODD OpenEdition 1.3.1</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_OE" start="TEI"
33+
<schemaSpec ident="tei.openedition" 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=""/>
@@ -64,6 +64,7 @@
6464
<elementRef key="fileDesc"/>
6565
<elementRef key="forename"/>
6666
<elementRef key="front"/>
67+
<elementRef key="gloss"/>
6768
<elementRef key="graphic"/>
6869
<elementRef key="head"/>
6970
<elementRef key="hi"/>
@@ -1390,6 +1391,50 @@
13901391

13911392

13921393

1394+
<elementSpec ident="gloss" mode="change">
1395+
<content>
1396+
<rng:zeroOrMore>
1397+
<rng:choice>
1398+
<rng:text/>
1399+
<rng:ref name="hi"/>
1400+
<rng:ref name="lb"/>
1401+
<rng:ref name="anchor"/>
1402+
<rng:ref name="note"/>
1403+
<rng:ref name="ref"/>
1404+
<rng:ref name="ptr"/>
1405+
</rng:choice>
1406+
</rng:zeroOrMore>
1407+
</content>
1408+
<attList>
1409+
<attDef ident="ana" mode="delete"/>
1410+
<attDef ident="cert" mode="delete"/>
1411+
<attDef ident="change" mode="delete"/>
1412+
<attDef ident="copyOf" mode="delete"/>
1413+
<attDef ident="corresp" mode="delete"/>
1414+
<attDef ident="decls" mode="delete"/>
1415+
<attDef ident="exclude" mode="delete"/>
1416+
<attDef ident="facs" mode="delete"/>
1417+
<attDef ident="n" mode="delete"/>
1418+
<attDef ident="next" mode="delete"/>
1419+
<attDef ident="prev" mode="delete"/>
1420+
<attDef ident="rend" mode="delete"/>
1421+
<attDef ident="resp" mode="delete"/>
1422+
<attDef ident="sameAs" mode="delete"/>
1423+
<attDef ident="select" mode="delete"/>
1424+
<attDef ident="style" mode="delete"/>
1425+
<attDef ident="subtype" mode="delete"/>
1426+
<attDef ident="synch" mode="delete"/>
1427+
<attDef ident="type" mode="delete"/>
1428+
<attDef ident="xml:base" mode="delete"/>
1429+
<attDef ident="xml:space" mode="delete"/>
1430+
</attList>
1431+
<remarks>
1432+
<p>Authorized attributes: @xml:id, @xml:lang</p>
1433+
</remarks>
1434+
</elementSpec>
1435+
1436+
1437+
13931438
<elementSpec ident="graphic" mode="change">
13941439
<content>
13951440
<rng:empty/>
@@ -2727,6 +2772,7 @@
27272772
<rng:zeroOrMore>
27282773
<rng:choice>
27292774
<rng:ref name="bibl"/>
2775+
<rng:ref name="gloss"/>
27302776
<rng:ref name="lb"/>
27312777
<rng:ref name="pb"/>
27322778
<rng:ref name="anchor"/>
@@ -2739,6 +2785,7 @@
27392785
<rng:zeroOrMore>
27402786
<rng:choice>
27412787
<rng:ref name="bibl"/>
2788+
<rng:ref name="gloss"/>
27422789
<rng:ref name="lb"/>
27432790
<rng:ref name="pb"/>
27442791
<rng:ref name="anchor"/>
@@ -2779,14 +2826,6 @@
27792826
<attDef ident="source" mode="delete"/>
27802827
<attDef ident="style" mode="delete"/>
27812828
<attDef ident="synch" mode="delete"/>
2782-
<attDef ident="type" mode="change">
2783-
<!-- Une valeur par défaut est attendue par Roma même si elle n'est pas spécifiée... -->
2784-
<defaultVal/>
2785-
<valList type="closed" mode="replace">
2786-
<valItem ident="exemple"/>
2787-
<valItem ident="sousexemple"/>
2788-
</valList>
2789-
</attDef>
27902829
<attDef ident="xml:base" mode="delete"/>
27912830
<attDef ident="xml:space" mode="delete"/>
27922831
</attList>

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