relaxng / jing-trang

Schema validation and conversion based on RELAX NG
http://www.thaiopensource.com/relaxng/
Other
228 stars 69 forks source link

Silence schematron-related SXWN9000 Saxon error #241

Closed sideshowbarker closed 5 years ago

sideshowbarker commented 5 years ago

Fixes https://github.com/relaxng/jing-trang/issues/240

ndw commented 5 years ago

I guess this is fine. I hope a fix at the XSLT level is also available sometime. Any tools that invoke Jing with their own error handler will probably have to replicate this approach.

sideshowbarker commented 5 years ago

I guess this is fine. I hope a fix at the XSLT level is also available sometime.

Per https://github.com/relaxng/jing-trang/issues/240#issuecomment-446897726 it seems there actually is. So I’ll go ahead and close this PR in favor of #244 (which does what @georgebina suggests in that comment).

Any tools that invoke Jing with their own error handler will probably have to replicate this approach.

Yeah, I hadn’t thought of that. That makes it a pretty suboptimal fix, so it would be great if we can agreement that the patch in #244 will work