Skip to content

Commit

Permalink
Ack! Forgot to
Browse files Browse the repository at this point in the history
update tests to match.
  • Loading branch information
sydb committed Jan 20, 2025
1 parent 5972b28 commit 371266e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion P5/Test/detest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<delSpan spanTo="#ds1"/>This one doesn't<anchor xml:id="ds1"/> but that's also OK.
<delSpan/> That one (just to my left) is illegal
<delSpan spanTo="#ds2"/> as is that one
<delSpan spanTo="notMeaningful"/> and that one</p>
<delSpan spanTo="notMeaningful"/> but that one will not be reported either way</p>
</div>

<div type="canon">
Expand Down
5 changes: 1 addition & 4 deletions P5/Test/expected-results/detest_xml_schematron.log
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
The @generatedBy attribute is for use within a &lt;post&gt; element. (ancestor-or-self::tei:post)
The @generatedBy attribute is for use within a &lt;post&gt; element. (ancestor-or-self::tei:post)
The element indicated by @spanTo (#ds2) must follow the current element delSpan
(id(substring(@spanTo,2)) and following::*[@xml:id=substring(current()/@spanTo,2)])
The element indicated by @spanTo (notMeaningful) must follow the current element delSpan
(id(substring(@spanTo,2)) and following::*[@xml:id=substring(current()/@spanTo,2)])
The element indicated by @spanTo (#ds2) must follow the current delSpan element (id( substring( @spanTo, 2 ) ) &gt;&gt; .)
@schemeVersion can only be used if @scheme is specified. (@scheme and not(@scheme = 'free'))
The abbr element should not be categorized in detail with @subtype unless also categorized in general with @type (@type)
The div element should not be categorized in detail with @subtype unless also categorized in general with @type (@type)
Expand Down

0 comments on commit 371266e

Please sign in to comment.