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

Handle constraintDecl and query-language-binding #46

Open
martindholmes opened this issue Dec 18, 2024 · 2 comments
Open

Handle constraintDecl and query-language-binding #46

martindholmes opened this issue Dec 18, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@martindholmes
Copy link
Collaborator

martindholmes commented Dec 18, 2024

The new <constraintDecl> element is going to carry an attribute @queryBinding, which needs to be handled. Since our Schematron is generated directly into the RELAX NG, we need to find a way to push that information out to the output in a manner which can be used later, e.g. when extracting Schematron. The suggestion is to to generate a processing instruction to do this. We also have to copy out the contents of the <constraintDecl>, which will be things like namespace declarations.

@martindholmes martindholmes added the enhancement New feature or request label Dec 18, 2024
@martindholmes
Copy link
Collaborator Author

With @HelenaSabel and @sydb we talked about what should happen in the event that the upstream ODD and the customization ODD have a conflict with regard to variable or namespace declarations or @queryBinding, and the answer we seem to be settling on is that the downstream ODD would win out.

@sydb
Copy link
Member

sydb commented Dec 18, 2024

Note that handling of @queryBinding may turn out to be a moot point iff the Schematroners come up with a mechanism, first. See their # 52.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants