Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy over tei:constraint/sch:pattern attributes into output Schematron #731

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

sydb
Copy link
Member

@sydb sydb commented Feb 3, 2025

Bug fix: we were failing to copy over the attributes of a <sch:pattern> when it was a child of an input <tei:constraint>.

P.S. It is worth noting that such attributes, except for @id which we were handling, are quite rare. We do not use them internally, yet. The only ones I found in my entire TEI/, Stylesheets/, and ATOP/ hierarchies were those in the leftover files from my attempt to use abstract patterns to enforce the constraints of declarable elements (which, somewhat shockingly, was 3 years ago to the day, so I did a double-take on the date :​-​), and a snippet of the XSpec test suite which is in the ATOP library. Thus, unless a user complains, it may not be worth a patch release.

over the attributes of an tei:constraint/sch:pattern element
@sydb sydb added the type: bug A bug report. label Feb 3, 2025
@sydb sydb added this to the Release 7.59.0 milestone Feb 3, 2025
@sydb sydb self-assigned this Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A bug report.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant