首页> 外国专利> Efficient XML schema validation of XML fragments using annotated automaton encoding

Efficient XML schema validation of XML fragments using annotated automaton encoding

机译:使用带注释的自动机编码对XML片段进行有效的XML模式验证

摘要

An XML schema is compiled into an annotated automaton encoding, which includes a parsing table for structural information and annotation for type information. The representation is extended to include a mapping from schema types to states in a parsing table. To validate a fragment against a schema type, it is necessary simply to determine the state corresponding to the schema type, and start the validation process from that state. When the process returns to the state, fragment validation has reached successful completion. This approach is more efficient than a general tree representation. Only the data representation of the schema information is handled, making it much easier than manipulating validation parser code generated by a parser generator. In addition, only one representation is needed for schema information for both document and fragment validation. This approach also provides a basis for incremental validation after update.
机译:XML模式被编译成带注释的自动机编码,其中包括用于结构信息的解析表和用于类型信息的注释。该表示已扩展为包括从架构类型到解析表中状态的映射。要针对模式类型验证片段,只需确定与模式类型相对应的状态,然后从该状态开始验证过程即可。当过程返回到状态时,片段验证已成功完成。这种方法比一般的树表示更有效率。仅处理模式信息的数据表示形式,这比处理解析器生成器生成的验证解析器代码要容易得多。此外,对于文档和片段验证,模式信息仅需要一种表示形式。此方法还为更新后的增量验证提供了基础。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号