Open ujay68 opened 4 years ago
ISO Schematron is not really supported by Jing, see https://github.com/relaxng/jing-trang/issues/23.
@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.
Yes, the pre-ISO schematron is supported by Jing and you should be able to use that.
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.