Commit 555b03cf authored by RIVIERE Jean François's avatar RIVIERE Jean François
Browse files

commons-publishing.odd -> autoriser change@type + compiled odd + rng openedition

parent 3d91aa58
Loading
Loading
Loading
Loading
+7 −28
Changes for odd/out/commons-publishing-openedition.rng: 7 added lines, 28 removed lines.
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
         xmlns="http://relaxng.org/ns/structure/1.0"
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
         ns="http://www.tei-c.org/ns/1.0"><!--
Schema generated from ODD source 2023-02-28T11:20:02Z. .
Schema generated from ODD source 2023-03-27T07:55:02Z. .
TEI Edition: 
TEI Edition Location: https://www.tei-c.org/Vault/P5//
  
@@ -129,18 +129,6 @@ TEI Edition Location: https://www.tei-c.org/Vault/P5//
   <define name="att.datable.attributes">
      <ref name="att.datable.w3c.attributes"/>
   </define>
   <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
            id="commons-publishing-openedition-att.datable-calendar-constraint-rule-4">
      <sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                context="tei:*[@calendar]">
         <sch:assert test="string-length( normalize-space(.) ) gt 0"> @calendar indicates one or more
            systems or calendars to which the date represented by the content of this element belongs,
            but this <sch:name/> element has no textual content.</sch:assert>
      </sch:rule>
   </pattern>
   <define name="att.global.rendition.attributes">
      <ref name="att.global.rendition.attribute.rend"/>
      <ref name="att.global.rendition.attribute.rendition"/>
@@ -365,7 +353,7 @@ Suggested values include: 1] top; 2] bottom; 3] margin; 4] opposite; 5] overleaf
      </optional>
   </define>
   <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
            id="commons-publishing-openedition-att.typed-subtypeTyped-constraint-rule-5">
            id="commons-publishing-openedition-att.typed-subtypeTyped-constraint-rule-4">
      <sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -391,16 +379,6 @@ Suggested values include: 1] top; 2] bottom; 3] margin; 4] opposite; 5] overleaf
         </attribute>
      </optional>
   </define>
   <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
            id="commons-publishing-openedition-att.pointing-targetLang-constraint-rule-6">
      <sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                context="tei:*[not(self::tei:schemaSpec)][@targetLang]">
         <sch:assert test="@target">@targetLang should only be used on <sch:name/> if @target is specified.</sch:assert>
      </sch:rule>
   </pattern>
   <define name="att.styleDef.attributes">
      <ref name="att.styleDef.attribute.scheme"/>
      <ref name="att.styleDef.attribute.schemeVersion"/>
@@ -433,7 +411,7 @@ Suggested values include: 1] top; 2] bottom; 3] margin; 4] opposite; 5] overleaf
      </optional>
   </define>
   <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
            id="commons-publishing-openedition-att.styleDef-schemeVersion-schemeVersionRequiresScheme-constraint-rule-7">
            id="commons-publishing-openedition-att.styleDef-schemeVersion-schemeVersionRequiresScheme-constraint-rule-5">
      <sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -2026,7 +2004,7 @@ Suggested values include: 1] volume (volume); 2] issue; 3] page (page); 4] line;
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(description) contains a short description of the purpose, function, or use of its parent element, or when the parent is a documentation element, describes or defines the object being documented.  [22.4.1. Description of Components]</a:documentation>
         <ref name="macro.limitedContent"/>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  id="commons-publishing-openedition-desc-deprecationInfo-only-in-deprecated-constraint-rule-8">
                  id="commons-publishing-openedition-desc-deprecationInfo-only-in-deprecated-constraint-rule-6">
            <sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -2186,7 +2164,7 @@ Measures]</a:documentation>
            </zeroOrMore>
         </group>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  id="commons-publishing-openedition-list-gloss-list-must-have-labels-constraint-rule-9">
                  id="commons-publishing-openedition-list-gloss-list-must-have-labels-constraint-rule-7">
            <sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -2702,7 +2680,7 @@ Sample values include: 1] main; 2] sub (subordinate); 3] alt (alternate); 4] sho
            </zeroOrMore>
         </group>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  id="commons-publishing-openedition-lg-atleast1oflggapl-constraint-assert-7">
                  id="commons-publishing-openedition-lg-atleast1oflggapl-constraint-assert-5">
            <rule context="tei:lg">
               <sch:assert xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                           xmlns="http://www.tei-c.org/ns/1.0"
@@ -3182,6 +3160,7 @@ Sample values include: 1] first-line; 2] first-letter; 3] before; 4] after</a:do
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(change) documents a change or set of changes made during the production of a source document, or during the revision of an electronic file. [2.6. The Revision Description 2.4.1. Creation 11.7. Identifying Changes and Revisions]</a:documentation>
         <ref name="macro.specialPara"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.typed.attribute.type"/>
         <optional>
            <attribute name="target">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(target) points to one or more elements that belong to this change.</a:documentation>
+11 −1
Changes for odd/out/commons-publishing.rng: 11 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
         xmlns="http://relaxng.org/ns/structure/1.0"
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
         ns="http://www.tei-c.org/ns/1.0"><!--
Schema generated from ODD source 2023-02-23T15:59:23Z. .
Schema generated from ODD source 2023-03-27T07:46:29Z. .
TEI Edition: Version 4.5.0. Last updated on
        25th October 2022, revision 3e98e619e
TEI Edition Location: https://www.tei-c.org/Vault/P5/Version 4.5.0/
@@ -2250,6 +2250,15 @@ Suggested values include: 1] gloss (gloss); 2] index (index); 3] instructions (i
         <ref name="att.global.attribute.xmlspace"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.rendition.attribute.rendition"/>
         <optional>
            <attribute name="type">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes the element in some sense, using any convenient classification scheme or typology.</a:documentation>
               <choice>
                  <value>trl</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
@@ -3165,6 +3174,7 @@ Sample values include: 1] first-line; 2] first-letter; 3] before; 4] after</a:do
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(change) documents a change or set of changes made during the production of a source document, or during the revision of an electronic file. [2.6. The Revision Description 2.4.1. Creation 11.7. Identifying Changes and Revisions]</a:documentation>
         <ref name="macro.specialPara"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.typed.attribute.type"/>
         <optional>
            <attribute name="target">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(target) points to one or more elements that belong to this change.</a:documentation>
+3 −1
Changes for odd/src/commons-publishing.odd: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -199,8 +199,10 @@
          <classes mode="change">
            <memberOf mode="delete" key="att.global"/>
            <memberOf mode="delete" key="att.global.rendition"/>
            <memberOf mode="delete" key="att.typed"/>
          </classes>
        	<attList>
        		<attDef ident="subtype" mode="delete" />
        	</attList>
        </elementSpec>
        
        <elementSpec ident="distributor" module="header" mode="change">
+4 −18
Changes for odd/src/commons-publishing_compiled.odd: 4 added lines, 18 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?><TEI xmlns="http://www.tei-c.org/ns/1.0" xml:base="file:/home/mcarmona/Documents/TEI_Commons_Publishing/schema-tei/odd/src/commons-publishing.odd"><?TEIVERSION Version 4.5.0. Last updated on
<?xml version="1.0" encoding="utf-8"?><TEI xmlns="http://www.tei-c.org/ns/1.0" xml:base="file:/home/riviere/workspace/schema-tei/odd/src/commons-publishing.odd"><?TEIVERSION Version 4.5.0. Last updated on
        25th October 2022, revision 3e98e619e?>
  <teiHeader>
    <fileDesc>
@@ -183,15 +183,7 @@
    that contain dates, times, or datable events.</desc><desc versionDate="2007-12-20" xml:lang="ko">날짜, 시간 또는 날짜 명기 사건을 포함하는 요소의 규격화에 대한 속성을 제공한다.</desc><desc versionDate="2007-05-02" xml:lang="zh-TW">提供用於元素規格化的屬性, 這些元素包含日期明確的事件。</desc><desc versionDate="2008-04-05" xml:lang="ja">日付や時間または時間事象を含む要素の正規化手法を示す属性を示す。</desc><desc versionDate="2007-06-12" xml:lang="fr">fournit des attributs pour la normalisation
    d'éléments qui contiennent des mentions d'événements datés ou susceptibles de l'être</desc><desc versionDate="2007-05-04" xml:lang="es">atributos para registrar expresiones temporales
    normalizadas.</desc><desc versionDate="2007-01-21" xml:lang="it">assegna attributi per la normalizzazione di elementi
    che contengono eventi databili</desc><classes><memberOf key="att.datable.w3c"/></classes><constraintSpec ident="calendar" scheme="schematron">
        <constraint>
          <sch:rule context="tei:*[@calendar]">
            <sch:assert test="string-length( normalize-space(.) ) gt 0"> @calendar indicates one or more
            systems or calendars to which the date represented by the content of this element belongs,
            but this <sch:name/> element has no textual content.</sch:assert>
          </sch:rule>
        </constraint>
      </constraintSpec><attList/><remarks versionDate="2011-11-25" xml:lang="en">
    che contengono eventi databili</desc><classes><memberOf key="att.datable.w3c"/></classes><attList/><remarks versionDate="2011-11-25" xml:lang="en">
    <p>This <soCalled>superclass</soCalled> provides attributes that can be used to provide
      normalized values of temporal information. By default, the attributes from the <ident type="class">att.datable.w3c</ident> class are provided. If the module for names &amp; dates
      is loaded, this class also provides attributes from the <ident type="class">att.datable.iso</ident> and <ident type="class">att.datable.custom</ident> classes. In
@@ -858,13 +850,7 @@ sub-classification for the element additional to that provided by its
    <ref target="https://www.tei-c.org/release/doc/tei-p5-doc/en/html/USE.html#MDMDAL">23.3.1.3. Modification of Attribute and Attribute Value Lists</ref>
  </listRef>
</classSpec><classSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:rng="http://relaxng.org/ns/structure/1.0" rend="change" module="tei" type="atts" ident="att.pointing"><desc versionDate="2016-01-15" xml:lang="en">provides a set of attributes used by all elements which point
  to other elements by means of one or more URI references.</desc><desc versionDate="2007-12-20" xml:lang="ko">하나 이상의 URI 참조를 통해서 다른 요소를 가리키는 모든 요소에 의해 사용된 속성 집합을 정의한다.</desc><desc versionDate="2007-05-02" xml:lang="zh-TW">定義一組與其他元素相連結的所有元素皆使用的屬性,連結是使用ㄧ個或多個統一資源識別符 (URI) 參照。</desc><desc versionDate="2008-04-05" xml:lang="ja">URIにより要素を参照する要素に共通して付与される属性を定義する。</desc><desc versionDate="2016-02-15" xml:lang="fr">fournit un ensemble d'attributs utilisés par tous les éléments qui pointent vers d'autres éléments au moyen d'une ou de plusieurs références URI.</desc><desc versionDate="2007-05-04" xml:lang="es">define un conjunto de atributos usados por todos los elementos que señalan a otros elementos a través de uno o más URI.</desc><desc versionDate="2007-01-21" xml:lang="it">definisce un insieme di attributi usati da tutti gli elementi che puntano ad altri elementi tramite uno o più URI</desc><classes/><constraintSpec ident="targetLang" scheme="schematron">
        <constraint>
          <sch:rule context="tei:*[not(self::tei:schemaSpec)][@targetLang]">
            <sch:assert test="@target">@targetLang should only be used on <sch:name/> if @target is specified.</sch:assert>
          </sch:rule>
        </constraint>
      </constraintSpec><attList><attDef ident="target" usage="opt">
  to other elements by means of one or more URI references.</desc><desc versionDate="2007-12-20" xml:lang="ko">하나 이상의 URI 참조를 통해서 다른 요소를 가리키는 모든 요소에 의해 사용된 속성 집합을 정의한다.</desc><desc versionDate="2007-05-02" xml:lang="zh-TW">定義一組與其他元素相連結的所有元素皆使用的屬性,連結是使用ㄧ個或多個統一資源識別符 (URI) 參照。</desc><desc versionDate="2008-04-05" xml:lang="ja">URIにより要素を参照する要素に共通して付与される属性を定義する。</desc><desc versionDate="2016-02-15" xml:lang="fr">fournit un ensemble d'attributs utilisés par tous les éléments qui pointent vers d'autres éléments au moyen d'une ou de plusieurs références URI.</desc><desc versionDate="2007-05-04" xml:lang="es">define un conjunto de atributos usados por todos los elementos que señalan a otros elementos a través de uno o más URI.</desc><desc versionDate="2007-01-21" xml:lang="it">definisce un insieme di attributi usati da tutti gli elementi che puntano ad altri elementi tramite uno o più URI</desc><classes/><attList><attDef ident="target" usage="opt">
      <desc versionDate="2010-05-02" xml:lang="en">specifies the destination of the reference by supplying one or more URI References</desc>
      <desc versionDate="2007-12-20" xml:lang="ko">하나 혹은 다수의 URI 참조를 제시하여 참조의 목적지를 명시한다.</desc>
      <desc versionDate="2007-05-02" xml:lang="zh-TW">用一個或多個統一資源識別符參照 (URI References) 來說明參照所指位置。</desc>
@@ -8029,7 +8015,7 @@ should be supplied for the <att>scheme</att> attribute.</p>
    Basisdokuments oder während der Überarbeitung einer elektronischen Datei.</desc><desc versionDate="2007-05-04" xml:lang="es">resume un cambio o corrección determinada llevada a cabo
    en una versión dada de un texto electrónico en el que trabajan diversos investigadores.</desc><desc versionDate="2007-01-21" xml:lang="it">sintetizza un particolare cambiamento o correzione
    effettuato ad una particolare versione di un documento elettronico, condivisa da più
    ricercatori.</desc><classes><memberOf key="att.datable"/></classes><content><macroRef key="macro.specialPara"/></content><attList><attDef ident="target">
    ricercatori.</desc><classes><memberOf key="att.datable"/><memberOf key="att.typed"/></classes><content><macroRef key="macro.specialPara"/></content><attList><attDef ident="subtype" mode="delete"/><attDef ident="target">
      <gloss xml:lang="en" versionDate="2016-11-25">target</gloss>
      <gloss versionDate="2016-11-25" xml:lang="de">Ziel</gloss>
      <desc versionDate="2011-10-31" xml:lang="en">points to one or more elements that belong to this change.</desc>