The schema-aware feature is mainly used for error checking.
模式感知特性主要用于错误检查。
In XPath 2.0, the syntax for node tests is more consistent than it was in XPath 1.0 and is enhanced to include schema-aware support in node selection.
和XPath 1.0相比,XPath 2.0中节点测试的语法更加一致,并在节点选择中加入了对模式敏感(schema - aware)支持。
Also, although the advanced schema-aware processors do support these node tests, they are rare and in practice usually couple the validation with data processing.
另外,虽然高级模式感知处理器确实支持这些节点测试,但它们的数量很少,并且在实际操作中常常耦合了验证过程和数据处理过程。
应用推荐