首页> 外国专利> SIMPLE ONE-PASS W3C XML SCHEMA SIMPLE TYPE PARSING, VALIDATION, AND DESERIALIZATION SYSTEM

SIMPLE ONE-PASS W3C XML SCHEMA SIMPLE TYPE PARSING, VALIDATION, AND DESERIALIZATION SYSTEM

机译:简单的一次通过W3C XML架构简单的类型解析,验证和反序列化系统

摘要

A method for validating simple type data in XML documents, the method comprising: identifying data via an Extensible Markup Language (XML); developing schema for specifying formal data typing and validation of element content in terms of data types; generating a parser for parsing the collection of elements in a first stage where the schema is read and modeled in terms of abstract schema components, a second stage where the schema is augmented with a set of calculated schema components and properties used to drive code generation, and a third stage where the schema is traversed to generate a validation code for each of the collection of elements, and generate simple type validator modules which perform well-formedness checking the data; validating the simple type data against specific type information; and converting the data to datatype-specific form, all in a single pass.
机译:一种用于验证XML文档中的简单类型数据的方法,该方法包括:通过可扩展标记语言(XML)识别数据;开发模式以指定正式数据类型并根据数据类型验证元素内容;生成解析器,用于在第一阶段根据抽象模式组件对模式进行读取和建模,以解析元素的集合;在第二阶段中,使用一组计算得出的模式组件和用于驱动代码生成的属性来扩充该模式,第三阶段,遍历该模式以为每个元素集合生成一个验证码,并生成简单的类型验证器模块,这些模块执行格式正确的数据检查;根据特定类型信息验证简单类型​​数据;并将数据一次转换为特定于数据类型的形式。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号