TEIC / Stylesheets

TEI XSL Stylesheets
228 stars 123 forks source link

extract-isosch.xsl overdoes copying of attrs #659

Closed sydb closed 3 months ago

sydb commented 5 months ago

The odds/extract-isosch.xsl program is copying attributes from input <tei:constraint> to the output <sch:rule>. This is a bit silly, because (except perhaps for @xml:* attrs) none of them are valid or have meaningful semantics in Schematron.

We never noticed this, BTW, because there are no attributes on <constraint> in the entirety of the Guidelines repo. I just noticed because I decided to abuse the @n attribute of almost every element in a customization ODD because I wanted to make sure none of my colleagues (or future me) edited the file: <constraint n="DO NOT EDIT!">. :smile: