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

Fix #2187, I hope #2188

Merged
merged 6 commits into from
Apr 16, 2022
Merged

Fix #2187, I hope #2188

merged 6 commits into from
Apr 16, 2022

Conversation

sydb
Copy link
Member

@sydb sydb commented Oct 1, 2021

Just adding <constraintSpec> to elements that get copied to subset.

Copy link
Contributor

@martindholmes martindholmes left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@HelenaSabel
Copy link
Member

Test fails with error: /tei/P5/Test/detest.odd:457:86: error: element "constraintSpec" incomplete; missing required element "constraint"

European VF2F thinks that the PR should also include the fix of the test.

@sydb
Copy link
Member Author

sydb commented Apr 2, 2022

Ummm… the error is catching a real problem, isn’t it? That the content model of <constraintSpec> requires a child <constraint> even if @mode is "delete". So it seems to me the right solution is to add an empty <constraint> to the detest.odd file, and open another ticket that the Guidelines should properly explain how to delete or change a <constraintSpec>. (Which might include changing content models and adding constraints.)

@sydb
Copy link
Member Author

sydb commented Apr 8, 2022

Council meeting of today votes to change Stylesheets so that

<constraintSpec mode="delete" scheme="schematron"/>

is what is used to delete a constraint specification, not requiring a child <constraint>.

@sydb
Copy link
Member Author

sydb commented Apr 10, 2022

OK. Schema, not test, fixed. I think this is quite ready to be merged, now.

Copy link
Member

@peterstadler peterstadler left a comment

Choose a reason for hiding this comment

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

I'm unable to find the change that caused the error reported at #2188 (comment) to vanish, but hey, seems ok to me :)

@martinascholger martinascholger merged commit 9fba60a into dev Apr 16, 2022
@martinascholger martinascholger deleted the sydb_2187 branch April 16, 2022 19:13
hcayless pushed a commit that referenced this pull request Jun 26, 2022
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.

6 participants