Which Schematron version does libxml2 implement?

。_饼干妹妹 提交于 2019-12-11 13:44:25

问题


Libxml2 comes with a Schematron module. Since Schematron evolved quite a bit I am wondering what version the libxml2 implementation roughly matches.


回答1:


From a quick look at the source code, libxml2 uses the namespace http://purl.oclc.org/dsdl/schematron which means ISO Schematron (2006). But there's a TODO comment saying

divergences between the draft and the ISO proposed standard :-(

There don't seem to be any changes to the source code that address this. So it's possible that libxml2 only supports a draft version of the ISO standard (maybe Schematron 1.6?). I'd suggest to ask on the libxml2 mailing list to get a definite answer.



来源:https://stackoverflow.com/questions/31222525/which-schematron-version-does-libxml2-implement

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!