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

remove @scheme requirement when <constraintSpec> is mode=change or delete #2453

Merged
merged 5 commits into from
Nov 9, 2023

Conversation

sydb
Copy link
Member

@sydb sydb commented Aug 6, 2023

  • Made @scheme of <constraintSpec> optional (per closed schema)
  • Made @scheme of <constraintSpec> required iff mode=add (default) or mode=replace (per open schema)
  • Moved declarations of Schematron namespaces from constraintSpec to TEI in order to make above work
  • Added a case in detest.odd to test new constraints

Note for reviewing: I did this work on a machine that does not have spell-checking installed for Emacs (yet). So probably worth reading the prose changes carefully.

 * Made scheme= of constraintSpec optional (per closed schema)
 * Made scheme= of constraintSpec required iff mode=add (default) or mode=replace
 * Moved declarations of Schematron namespaces from constraintSpec to TEI in order to make above work
 * Added a case in detest.odd to test new constraints
@sydb sydb added this to the Guidelines 4.7.0 milestone Aug 6, 2023
@sydb sydb requested a review from martindholmes August 6, 2023 18:41
@sydb
Copy link
Member Author

sydb commented Aug 6, 2023

Note that the tests here are still failing on “/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found”, so probably nothing to do with the changes.

This branch passed all the tests that my Mac laptop runs, but I do not have a docker container on this machine.

@@ -1,11 +1,11 @@
Buildfile: /TEI/P5/Test/antruntest.xml
Buildfile: /Users/syd/Documents/TEI_gitHub/P5/Test/antruntest.xml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I presume that the expected results here should not be user specific -- should these all be /TEI/ ?

@raffazizzi raffazizzi merged commit 25fed89 into dev Nov 9, 2023
3 checks passed
@sydb sydb changed the title remove @scheme requirement when <constraintSpec> is mode=add or replace remove @scheme requirement when <constraintSpec> is mode=change or delete Nov 16, 2023
@ebeshero ebeshero added this to the Guideline 4.7.0 milestone Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants