Skip to content

Commit

Permalink
Schema update
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnmmeyer committed Apr 15, 2024
1 parent 7d52a69 commit 46f4491
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions schema/latest/DHARMA_Schema.rng
Original file line number Diff line number Diff line change
Expand Up @@ -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 2024-04-14T18:15:01Z. .
Schema generated from ODD source 2024-04-15T08:51:14Z. .
TEI Edition: Version 3.6.0. Last updated on 16th July 2019, revision daa3cc0b9
TEI Edition Location: https://www.tei-c.org/Vault/P5/3.6.0/
Expand Down Expand Up @@ -4578,7 +4578,8 @@ Sample values include: 1] main; 2] sub (subordinate); 3] alt (alternate); 4] sho
xmlns:sch="http://purl.oclc.org/dsdl/schematron"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
context="tei:l">
<sch:assert test="parent::tei:lg">element l must be wrapped in element lg</sch:assert>
<sch:assert test="parent::tei:lg or parent::tei:p[@rend='stanza']">
element l must be wrapped in element lg or in p[@rend='stanza']</sch:assert>
</sch:rule>
<sch:rule xmlns="http://www.tei-c.org/ns/1.0"
xmlns:rng="http://relaxng.org/ns/structure/1.0"
Expand Down

0 comments on commit 46f4491

Please sign in to comment.