Skip to content

Commit

Permalink
customize l element #68
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Nov 15, 2024
1 parent 75bd833 commit 7659af7
Show file tree
Hide file tree
Showing 46 changed files with 1,653 additions and 1,281 deletions.
82 changes: 38 additions & 44 deletions compiled-ODD/guidelines-de-wegaDocuments.compiled.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10118,68 +10118,62 @@ epistemology, methodology and history of
verweisen, muss das Element leer bleiben.</p>
</remarks><listRef>
<ref target="https://www.tei-c.org/release/doc/tei-p5-doc/en/html/CO.html#COBIRI">3.12.2.7. Related Items</ref>
</listRef></elementSpec><elementSpec module="core" ident="l">
<gloss versionDate="2005-01-14" xml:lang="en">verse line</gloss>
<gloss versionDate="2007-12-20" xml:lang="ko">운문 시행</gloss>
<gloss versionDate="2007-05-02" xml:lang="zh-TW">詩行</gloss>
<gloss versionDate="2009-01-06" xml:lang="fr">vers</gloss>
<gloss versionDate="2007-05-04" xml:lang="es">verso</gloss>
<gloss versionDate="2007-01-21" xml:lang="it">verso</gloss>
<gloss versionDate="2017-06-13" xml:lang="de">Vers(zeile)</gloss>
<desc versionDate="2005-01-14" xml:lang="en">contains a single, possibly incomplete, line of verse.</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">韻文中の1行を示す。行として完全でない場合もある。</desc>
<desc versionDate="2009-01-06" xml:lang="fr">contient un seul vers, éventuellement incomplet.</desc>
<desc versionDate="2007-05-04" xml:lang="es">contiene un único verso, posiblemente incompleto.</desc>
<desc versionDate="2007-01-21" xml:lang="it">contiene un singolo verso, anche incompleto.</desc>
<desc versionDate="2017-06-13" xml:lang="de">enthält eine einzelne, möglicherweise unvollständige, Verszeile.</desc>
<classes>
<memberOf key="att.global"/>
<memberOf key="model.lLike"/>


<memberOf key="att.fragmentable"/>

</classes>
<content>
<alternate minOccurs="0" maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.phrase"/>
<classRef key="model.inter"/>
<classRef key="model.global"/>
</alternate>
</content>
<constraintSpec ident="abstractModel-structure-l-in-l" scheme="schematron">
</listRef></elementSpec><elementSpec rend="change" module="core" ident="l"><gloss versionDate="2005-01-14" xml:lang="en">verse line</gloss><gloss versionDate="2007-12-20" xml:lang="ko">운문 시행</gloss><gloss versionDate="2007-05-02" xml:lang="zh-TW">詩行</gloss><gloss versionDate="2009-01-06" xml:lang="fr">vers</gloss><gloss versionDate="2007-05-04" xml:lang="es">verso</gloss><gloss versionDate="2007-01-21" xml:lang="it">verso</gloss><gloss versionDate="2017-06-13" xml:lang="de">Vers(zeile)</gloss><desc versionDate="2005-01-14" xml:lang="en">contains a single, possibly incomplete, line of verse.</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">韻文中の1行を示す。行として完全でない場合もある。</desc><desc versionDate="2009-01-06" xml:lang="fr">contient un seul vers, éventuellement incomplet.</desc><desc versionDate="2007-05-04" xml:lang="es">contiene un único verso, posiblemente incompleto.</desc><desc versionDate="2007-01-21" xml:lang="it">contiene un singolo verso, anche incompleto.</desc><desc versionDate="2017-06-13" xml:lang="de">enthält eine einzelne, möglicherweise unvollständige, Verszeile.</desc><classes><memberOf key="model.lLike"/><memberOf key="att.fragmentable"/></classes><content><alternate minOccurs="0" maxOccurs="unbounded"><textNode/><classRef key="model.gLike"/><classRef key="model.phrase"/><classRef key="model.inter"/><classRef key="model.global"/></alternate></content><constraintSpec xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" scheme="schematron" ident="l-indent-n">

<desc versionDate="2024-11-15" xml:lang="en">Checks for illegal combination of <att>n</att></desc>
<desc versionDate="2024-11-15" xml:lang="de">Überprüft auf illegale Kombinationen von <att>n</att></desc>
<constraint>
<sch:rule context="tei:l[@n]">
<sch:assert test="@rend='indent'">The @n-attribute is only supported in combination with @rend='indent'</sch:assert>
</sch:rule>
</constraint>
</constraintSpec><constraintSpec ident="abstractModel-structure-l-in-l" scheme="schematron">
<constraint>
<sch:rule context="tei:l">
<sch:report test="ancestor::tei:l[not(.//tei:note//tei:l[. = current()])]">Abstract model violation: Lines may not contain lines or lg elements.</sch:report>
</sch:rule>
</constraint>
</constraintSpec>
<exemplum xml:lang="und">
</constraintSpec><attList><attDef ident="rend" usage="opt">
<gloss versionDate="2013-11-11" xml:lang="en">rendition</gloss>
<desc versionDate="2013-11-11" xml:lang="en">indicates how the element in question was rendered or presented in the source text.</desc>
<gloss versionDate="2013-11-11" xml:lang="de">graphische Darstellung</gloss>
<desc versionDate="2013-11-11" xml:lang="de">gibt an, wie das fragliche Element <emph>in der Vorlage</emph> graphisch dargestellt ist.</desc>
<valList type="closed">
<valItem ident="indent">
<desc versionDate="2024-11-15" xml:lang="en">indented.</desc>
<desc versionDate="2024-11-15" xml:lang="de">eingerückt.</desc>
</valItem>
<valItem ident="right">
<desc versionDate="2024-11-15" xml:lang="en">The segment of text appears right-aligned.</desc>
<desc versionDate="2024-11-15" xml:lang="de">Der betreffende Text steht rechtsbündig.</desc>
</valItem>
</valList>
</attDef><attDef ident="n" usage="opt">
<gloss versionDate="2013-11-11" xml:lang="en">number</gloss>
<desc versionDate="2024-11-15" xml:lang="en">gives a number for the ammount of indentation steps (i.e. only applicable with <code>hi@rend='indent'</code>).</desc>
<gloss versionDate="2013-11-11" xml:lang="de">Zahl</gloss>
<desc versionDate="2024-11-15" xml:lang="de">gibt die Anzahl der Einrückungen an (d.h., <att>n</att> kann nur in Kombination mit <code>hi@rend='indent'</code> auftreten).</desc>
<datatype>
<dataRef key="teidata.count"/>
</datatype>
</attDef></attList><exemplum xml:lang="und">
<egXML xmlns="http://www.tei-c.org/ns/Examples" source="#l-td-eg-1">
<l met="x/x/x/x/x/" real="/xx/x/x/x/">Shall I compare thee to a summer's day?</l>
</egXML>
</exemplum>
<exemplum versionDate="2008-04-06" xml:lang="fr">
</exemplum><exemplum versionDate="2008-04-06" xml:lang="fr">
<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:lang="fr">
<l>Que toujours, dans vos vers, le sens coupant les mots</l>
<l>Suspende l'hémistiche, en marque le repos.</l>
</egXML>
</exemplum>
<exemplum xml:lang="zh-TW">
</exemplum><exemplum xml:lang="zh-TW">
<egXML xmlns="http://www.tei-c.org/ns/Examples" source="#UND">
<l met="平平仄仄平" part="Y"/>
</egXML>
</exemplum>
<listRef>
</exemplum><listRef>
<ref target="https://www.tei-c.org/release/doc/tei-p5-doc/en/html/CO.html#COVE">3.13.1. Core Tags for Verse</ref>
<ref target="https://www.tei-c.org/release/doc/tei-p5-doc/en/html/CO.html#CODV">3.13. Passages of Verse or Drama</ref>
<ref target="https://www.tei-c.org/release/doc/tei-p5-doc/en/html/DR.html#DRPAL">7.2.5. Speech Contents</ref>
</listRef>
</elementSpec><elementSpec rend="change" module="core" ident="lg"><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">line group</gloss><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">Gruppe von Zeilen</gloss><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">contains one or more verse lines functioning as a formal unit, e.g. a stanza, refrain, verse paragraph, etc.</desc><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">enthält eine oder mehrere Verszeilen, die als formale Einheit funktionieren, beispielsweise eine Strophe, ein Refrain, Versabsatz, usw.</desc><classes><memberOf key="model.divPart"/><memberOf key="model.paraPart"/></classes><content><sequence minOccurs="1" maxOccurs="1"><alternate minOccurs="0" maxOccurs="unbounded"><classRef key="model.divTop"/><classRef key="model.global"/></alternate><alternate minOccurs="1" maxOccurs="1"><classRef key="model.lLike"/><classRef key="model.stageLike"/><classRef key="model.labelLike"/><classRef key="model.pPart.transcriptional"/><elementRef key="lg"/></alternate><alternate minOccurs="0" maxOccurs="unbounded"><classRef key="model.lLike"/><classRef key="model.stageLike"/><classRef key="model.labelLike"/><classRef key="model.pPart.transcriptional"/><classRef key="model.global"/><elementRef key="lg"/></alternate><sequence minOccurs="0" maxOccurs="unbounded"><classRef key="model.divBottom"/><classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/></sequence></sequence></content><constraintSpec xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" scheme="schematron" ident="indent-n">
</listRef></elementSpec><elementSpec rend="change" module="core" ident="lg"><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">line group</gloss><gloss xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">Gruppe von Zeilen</gloss><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="en">contains one or more verse lines functioning as a formal unit, e.g. a stanza, refrain, verse paragraph, etc.</desc><desc xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" rend="replace" versionDate="2013-11-11" xml:lang="de">enthält eine oder mehrere Verszeilen, die als formale Einheit funktionieren, beispielsweise eine Strophe, ein Refrain, Versabsatz, usw.</desc><classes><memberOf key="model.divPart"/><memberOf key="model.paraPart"/></classes><content><sequence minOccurs="1" maxOccurs="1"><alternate minOccurs="0" maxOccurs="unbounded"><classRef key="model.divTop"/><classRef key="model.global"/></alternate><alternate minOccurs="1" maxOccurs="1"><classRef key="model.lLike"/><classRef key="model.stageLike"/><classRef key="model.labelLike"/><classRef key="model.pPart.transcriptional"/><elementRef key="lg"/></alternate><alternate minOccurs="0" maxOccurs="unbounded"><classRef key="model.lLike"/><classRef key="model.stageLike"/><classRef key="model.labelLike"/><classRef key="model.pPart.transcriptional"/><classRef key="model.global"/><elementRef key="lg"/></alternate><sequence minOccurs="0" maxOccurs="unbounded"><classRef key="model.divBottom"/><classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/></sequence></sequence></content><constraintSpec xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:mei="http://www.music-encoding.org/ns/mei" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:s="http://www.ascc.net/xml/schematron" scheme="schematron" ident="lg-indent-n">

<desc versionDate="2024-11-15" xml:lang="en">Checks for illegal combination of <att>n</att></desc>
<desc versionDate="2024-11-15" xml:lang="de">Überprüft auf illegale Kombinationen von <att>n</att></desc>
Expand Down
Loading

0 comments on commit 7659af7

Please sign in to comment.