Commit 78c63e7a authored by RIVIERE Jean François's avatar RIVIERE Jean François
Browse files

Merge branch 'master' of git.unicaen.fr:fnso/i-fair-ir/schema-tei

parents 555b03cf d4595ef4
Loading
Loading
Loading
Loading
+6 −30
Changes for odd/out/commons-publishing-metopes.rng: 6 added lines, 30 removed lines.
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
         xmlns:xlink="http://www.w3.org/1999/xlink"
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
         ns="http://www.tei-c.org/ns/1.0"><!--
Schema generated from ODD source 2023-03-14T11:53:25Z. .
Schema generated from ODD source 2023-03-21T14:05:24Z. .
TEI Edition: 
TEI Edition Location: https://www.tei-c.org/Vault/P5//
  
@@ -5734,15 +5734,10 @@ Suggested values include: 1] volume (volume); 2] issue; 3] page (page); 4] line;
         <ref name="att.global.rendition.attribute.rendition"/>
         <optional>
            <attribute name="rend">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(rendition) indicates how the element in question was rendered or presented in the source text.
Sample values include: 1] break; 2] consecutive; 3] caption; 4] credits; 5] #rtl</a:documentation>
               <list>
                  <oneOrMore>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <data type="token">
                        <param name="pattern">[^\p{C}\p{Z}]+</param>
                  <param name="pattern">(TEI_local[\w]*)|(break|consecutive|caption|credits|#rtl)</param>
               </data>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <optional>
@@ -5768,29 +5763,10 @@ Sample values include: 1] break; 2] consecutive; 3] caption; 4] credits; 5] #rtl
         <ref name="att.global.linking.attribute.prev"/>
         <optional>
            <attribute name="rend">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(rendition) indicates how the element in question was rendered or presented in the source text.</a:documentation>
               <list>
                  <oneOrMore>
                     <choice>
                        <value>bold</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                        <value>italic</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                        <value>small-caps</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                        <value>strikethrough</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                        <value>sup</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                        <value>sub</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                        <value>underline</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                        <value>uppercase</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                     </choice>
                  </oneOrMore>
               </list>
               <data type="token">
                  <param name="pattern">(TEI_local[\w]*)|(.*(bold|italic|small-caps|sup|sub|strikethrough|underline|uppercase).*)</param>
               </data>
            </attribute>
         </optional>
         <empty/>
+14 −8
Changes for odd/src/commons-publishing-metopes.odd: 14 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -121,14 +121,20 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">
                <dataRef key="teidata.pointer"/>
              </datatype>
            </attDef>
            <attDef ident="rend" mode="change">
              <valList type="open" mode="replace">
                <valItem ident="break"/>
                <valItem ident="consecutive"/>
                <valItem ident="caption"/>
                <valItem ident="credits"/>
                <valItem ident="#rtl"/>
              </valList>
            <attDef ident="rend" mode="replace">
              <datatype>
                <dataRef key="teidata.pattern" restriction="(TEI_local[\w]*)|(break|consecutive|caption|credits|#rtl)"/>
              </datatype>
            </attDef> 
          </attList>
        </elementSpec>

        <elementSpec ident="hi" module="core" mode="change">
          <attList>
            <attDef ident="rend" mode="replace">
              <datatype>
                <dataRef key="teidata.pattern" restriction="(TEI_local[\w]*)|(.*(bold|italic|small-caps|sup|sub|strikethrough|underline|uppercase).*)"/>
              </datatype>
            </attDef>
          </attList>
        </elementSpec>
+11 −15
Changes for teiHeader.md: 11 added lines, 15 removed lines.
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ https://www.loc.gov/marc/relators/relaterm.html
Auteurs : `/TEI/teiHeader/fileDesc/titleStmt/author[@role='xxx']`
> rôles possibles (sélection Marc 21) : `aut`, `edt`, `trl`, `pht`, `ill`, `drm`, `fld`

Collaborateurs / mentions de responsabilité secondaire : `/TEI/teiHeader/fileDesc/titleStmt/editor[@role='xxx']`
Collaborateurs / mentions de responsabilité secondaires : `/TEI/teiHeader/fileDesc/titleStmt/editor[@role='xxx']`
>rôles possibles (sélection Marc 21) : `trl`, `edt`, `ann`, `ctb`, `com`, `ctg`,   `ill`, `drm`, `pht`,`fld`

**correspondance pour les index OpenEdition**
@@ -153,15 +153,15 @@ Affiliation récupérée via une connexion aux référentiels (ROR, ISNI, RNSR,

OpenEdition : Biographie (`description`) : `author/note[@type="biography"]` ou `editor/note[@type="biography"]`

Métopes : `back/div[type='biography']/p`
- un élément paragraphe par description auteur (cf. description ONIX)
Métopes : `back/div[type='biographies']/div[type='biography']/p+`
- ~~un élément~~plusieurs paragraphes par description auteur (/!\ contradictoire par rapport à la description ONIX ?)
- multilingue
- lien à partir des métadonnées vers la notice biographique

> Notes Métopes : 
>
> - si les paragraphes sont consécutifs  (même méthode que stylage lodel), on déduit le lien
> - si les bio sont ailleurs (back), le lien se fait dans le xml
> - ~~si les bio sont ailleurs (back), le lien se fait dans le xml~~
> - pour avoir un encodage en `<div>` isolée, recommandation de stylage : un paragraphe par bio/auteur et identification (`div[type='biography']/@xml`) comme cible du lien

Le schéma TEI autorise `<note>` et `<ref`>. Ce sont les usages qui sont différents.
@@ -194,7 +194,7 @@ Le schéma TEI autorise `<note>` et `<ref`>. Ce sont les usages qui sont différ
        <ref target="#XX1234" type="biography"/>
        <email>p.collins@umd.edu</email>
      </author>
      <editor role="translator">
      <editor role="trl">
        <persName>
          <forename>Emmanuel</forename>
          <surname>Parent</surname>
@@ -267,8 +267,8 @@ Pour mémoire : élément supprimé.
<publicationStmt>
  <publisher>Éditeur</publisher>
  <distributor>OpenEdition</distributor>
  <date type="received">Date de réception</date>
  <date type="accepted">Date d'acceptation</date>
  <date type="received" when="YYYY-MM-DD">Date de réception</date>
  <date type="accepted" when="YYYY-MM-DD">Date d'acceptation</date>
  <idno>Numéro du document </idno>
  <availability>Licence</availability>
</publicationStmt>
@@ -324,8 +324,8 @@ Modification de l'encodage car :
Nouvel encodage (validé en nov. 2021 et complété en sept. 2022) : 
<publicationStmt>
  <ab type="editorial_workflow">
    <date type="received">Date de réception</date>
  	<date type="accepted">Date d'acceptation</date>
    <date type="received" when="YYYY-MM-DD">Date de réception</date>
  	<date type="accepted" when="YYYY-MM-DD">Date d'acceptation</date>
  </ab>
  <ab type="print">
    <bibl>
@@ -344,10 +344,6 @@ Nouvel encodage (validé en nov. 2021 et complété en sept. 2022) :







**Uniquement en sortie OpenEdition**

URL : `/TEI/teiHeader/fileDesc/publicationStmt/idno[@type='url']`
@@ -433,7 +429,7 @@ Déclaration des pratiques éditoriales : `/TEI/teiHeader/encodingDesc/editorial

`/TEI/teiHeader/profileDesc/langUsage/language/@ident`

> Métopes : code de langue ISO639 sur 4 caractères. **!!** à voir pour Lodel
Code de langue ISO639 sur 4 caractères.

```xml
<langUsage>
@@ -508,7 +504,7 @@ Hypothèse abandonnée : utilisation de `revisionDesc/listChange[@type='submissi
```xml
<revisionDesc>
  <listChange>
    <change type="creation" when="2021-04-25">Date de création du fichier XML</change>
    <change type="creation" when="2021-04-25">XML-TEI file creation</change>
    <change when="2021-04-25">Ajout d'un résumé en anglais</change>
  </listChange>
</revisionDesc>