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

Specify the query language binding in use when embedding Schematron (@sch:queryBinding) #52

Open
dmj opened this issue Sep 6, 2022 · 2 comments
Labels
enhancement Adds new capabilities QLBs Issues relating to query language bindings

Comments

@dmj
Copy link
Member

dmj commented Sep 6, 2022

Rationale: We need a convenient way to specify the query language binding in use when embedding Schematron rules or pattern in a host language such as XML Schema or TEI ODD. Schematron has the queryBinding attribute on the schema element. We can reuse it but put it in the Schematron namespace to avoid polluting the host language.

Add

5.4.16 sch:queryBinding attribute

When embedding Schematron, the sch:queryBinding attribute may be used on the outermost element of the host document to declare the query binding in use.

@rjelliffe
Copy link
Member

rjelliffe commented Sep 6, 2022 via email

@AndrewSales AndrewSales added the enhancement Adds new capabilities label Apr 23, 2023
@AndrewSales AndrewSales added the QLBs Issues relating to query language bindings label Jun 19, 2023
@AndrewSales
Copy link
Collaborator

AndrewSales commented Feb 24, 2024

I understand the use case, but I think it's outside the scope of the standard to define this and there would be no way to enforce its usage.

There's already mention of using Schematron elements elsewhere, in informative Annex "Use of Schematron as a vocabulary" allowing the technique Rick describes. With embedding individual rules and patterns, we're really into implementation territory, I feel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adds new capabilities QLBs Issues relating to query language bindings
Projects
None yet
Development

No branches or pull requests

3 participants