TEIC / Stylesheets

TEI XSL Stylesheets
228 stars 123 forks source link

Do not copy attrs from TEI constraint element to Schematron rule element #660

Closed sydb closed 3 months ago

sydb commented 5 months ago

Fixes #659.

martinascholger commented 3 months ago

Looks good to me. Tested with this code snippet

<constraintSpec ident="jtei.sch-div-head" scheme="schematron" resp="#RvdB #MDH">
    <constraint n="tester">
       <sch:assert test="tei:head"> A <sch:name/> must contain a head. </sch:assert>
    </constraint>
 </constraintSpec>