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

SVRL output in Annex N "Example usage of Schematron properties" not valid with respect to the SVRL schema in Annex D #79

Open
dmj opened this issue Dec 20, 2024 · 1 comment

Comments

@dmj
Copy link
Member

dmj commented Dec 20, 2024

The RELAX NG grammar in Annex D defines the content model of svrl:property-reference as follows:

property-reference = element property-reference { attribute property { xsd:NMTOKEN }, attribute role { text }?, attribute scheme { text }?, human-text }  

human-text = element text { attribute xml:space { text }?, attribute xml:lang { text }?, attribute see { text }?, attribute icon { text }?, attribute fpi { text }?, rich-text }

rich-text = (foreign | dir | span | emph | text)*

That is: It must contain exactly one svrl:text child element that may contain text or foreign elements.

The example in Annex N (N.9) shows a SVRL property reference with the foreign elements as children of the svrl:property-reference element.

@rjelliffe
Copy link
Member

rjelliffe commented Dec 23, 2024 via email

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

No branches or pull requests

2 participants