music-encoding
music-encoding copied to clipboard
Add schematron to flag under/overfull measures w/o @metcon
As indirectly suggested by @craigsapp in https://github.com/music-encoding/sample-encodings/issues/9.
Perhaps, some logic from this XSLT could be used. Currently, the stylesheet outputs a file called wrong_durations.txt which contains a list of thelayer/@xml:ids where the durations may be incorrect. It actually ignores the measures with @metcon, assuming they are already correctly encoded. However, the logic used to calculate the values within a layer and compare them against the definitions in the scoreDef should be the same.