libxml2实现哪个Schematron版本? [英] Which Schematron version does libxml2 implement?
问题描述
Libxml2带有 Schematron模块.由于 Schematron不断发展,我很想知道libxml2实现大致匹配哪个版本.>
Libxml2 comes with a Schematron module. Since Schematron evolved quite a bit I am wondering what version the libxml2 implementation roughly matches.
推荐答案
来自快速查看源代码, libxml2 使用名称空间http://purl.oclc.org/dsdl/schematron
表示ISO Schematron(2006).但是有一个待办事项评论说
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
草案与ISO提议的标准之间存在差异:-(
divergences between the draft and the ISO proposed standard :-(
似乎没有对源代码进行的任何更改解决这个问题.因此, libxml2 可能仅支持ISO标准的草稿版本(也许是Schematron 1.6?).我建议在 libxml2 邮件列表中询问得到肯定的答案.
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.
这篇关于libxml2实现哪个Schematron版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!