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

ISO Schematron validation does not support include mechanism #258

Open
ujay68 opened this issue Apr 14, 2020 · 3 comments
Open

ISO Schematron validation does not support include mechanism #258

ujay68 opened this issue Apr 14, 2020 · 3 comments

Comments

@ujay68
Copy link

ujay68 commented Apr 14, 2020

If you look at https://github.com/relaxng/jing-trang/blob/master/mod/schematron/src/main/com/thaiopensource/validate/schematron/resources/iso-schematron.rnc, the ISO Schematron dialect implemented by Jing seems to be one supporting the include mechanism. However, using an include element in a schema doesn't do anything. The implementing XSLT script https://github.com/relaxng/jing-trang/blob/master/mod/schematron/src/main/com/thaiopensource/validate/schematron/resources/iso-schematron.xsl doesn't processinclude elements in its input file.

@georgebina
Copy link
Contributor

ISO Schematron is not really supported by Jing, see #23.

@ujay68
Copy link
Author

ujay68 commented Apr 14, 2020

@georgebina, thanks for the pointer. Would you suggest to use the old "http://www.ascc.net/xml/schematron" schematron version then? Seems to be functionally equivalent as long as you don't (and cannot) use more than the basic features (pattern/rules/assert) anyway.

@georgebina
Copy link
Contributor

Yes, the pre-ISO schematron is supported by Jing and you should be able to use that.

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