Commit b303f62e authored by Charles Bourdot's avatar Charles Bourdot
Browse files

p@rend=':unkwown:'; div/@type=titlePage|biographies|funder|keywords ; p/@rend...

p@rend=':unkwown:'; div/@type=titlePage|biographies|funder|keywords ; p/@rend list of all titlePage elements; author/@role et editor/@role
parent 406fc5ce
Loading
Loading
Loading
Loading
+31 −7
Changes for odd/src/commons-publishing-metopes.odd: 31 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -60,8 +60,10 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <elementRef key="dimensions"        source="tei:current"/>
        <elementRef key="docAuthor"         source="tei:current"/>
        <elementRef key="editorialDecl"     source="tei:current"/>
        <elementRef key="idno"               source="tei:current"/>
        <elementRef key="index"             source="tei:current"/>
        <elementRef key="normalization"     source="tei:current"/>
        <elementRef key="licence"           source="tei:current"/>
        <elementRef key="titlePage"         source="tei:current"/>
        <elementRef key="titlePart"         source="tei:current"/>
         
@@ -109,6 +111,10 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">
                <valItem ident="section6"/>
                <!-- addition -->
                <valItem ident="biography"/>
                <valItem ident="titlePage"/>
                <valItem ident="biographies"/>
                <valItem ident="funder"/>
                <valItem ident="keywords"/>
              </valList>
            </attDef>
          </attList>
@@ -123,7 +129,8 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">
            </attDef>
            <attDef ident="rend" mode="replace">
              <datatype>
                <dataRef key="teidata.pattern" restriction="(TEI_local[\w]*)|(break|consecutive|caption|credits|#rtl)"/>
                <dataRef key="teidata.pattern" 
                restriction="(TEI_local[\w]*)|(unkown:[\w]*)|(break|consecutive|caption|credits|#rtl|docTitle|titlePart|docAuthor|affiliation|email)"/>
              </datatype>
            </attDef> 
          </attList>
@@ -133,7 +140,8 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <attList>
            <attDef ident="rend" mode="replace">
              <datatype>
                <dataRef key="teidata.pattern" restriction="(TEI_local[\w]*)|(.*(bold|italic|small-caps|sup|sub|strikethrough|underline|uppercase).*)"/>
                <dataRef key="teidata.pattern" 
                restriction="(TEI_local[\w]*)|(unkown:[\w]*)|(.*(bold|italic|small-caps|sup|sub|strikethrough|underline|uppercase).*)"/>
              </datatype>
            </attDef>
          </attList>
@@ -163,17 +171,30 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">
          </attList>
        </elementSpec>

        <classSpec mode="change" type="atts" module="tei"        ident="att.naming">
        <elementSpec ident="author" module="core" mode="change">
          <attList>
            <attDef ident="nymRef" mode="delete"/>
            <attDef ident="role" mode="change">
              <valList type="closed" mode="replace">
                <valItem ident="aut"/>
                <valItem ident="edt"/>
                <valItem ident="fld"/>
                <valItem ident="trl"/>
                <valItem ident="ill"/>
                <valItem ident="pht"/>
                <valItem ident="drm"/>
              </valList>
            </attDef>
           </attList>
       </elementSpec>

       <elementSpec ident="editor" module="core" mode="change">
        <attList>
          <attDef ident="role" mode="change">
            <valList type="closed" mode="replace">
              <valItem ident="edt"/>
              <valItem ident="trl"/>
              <valItem ident="fld"/>
              <valItem ident="ctb"/>
                <!-- addition -->
              <valItem ident="ctg"/>
              <valItem ident="ill"/>
              <valItem ident="pht"/>
@@ -183,7 +204,7 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">
            </valList>
          </attDef>
        </attList>
        </classSpec>
      </elementSpec>

        <elementSpec ident="note" module="core" mode="change">
          <classes mode="change">
@@ -219,6 +240,8 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">
              <elementRef key="bibl"/>
              <elementRef key="idno"/>
              <elementRef key="dimensions"/>
              <elementRef key="dim"/>
              <elementRef key="licence"/>
            </alternate>
          </content>
        </elementSpec>
@@ -240,9 +263,10 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">
          </classes>
          <attList>
            <attDef ident="type" mode="change">
              <!-- faut-il prévoir une liste fermée ?-->
              <valList mode="add" type="open">
                <valItem ident="affiliation"/>
                <valItem ident="site"/>
                <valItem ident="biographie"/>
              </valList>
            </attDef>
          </attList>