首页 | 官方网站   微博 | 高级检索  
     

基于XML Schema抽象模型的XML模式验证方法
引用本文:王伟良,施佺,曹渠江.基于XML Schema抽象模型的XML模式验证方法[J].计算机应用与软件,2007,24(3):41-43,60.
作者姓名:王伟良  施佺  曹渠江
作者单位:1. 上海理工大学计算机工程学院,上海,200093
2. 上海理工大学计算机工程学院,上海,200093;南通大学,江苏,南通,226001
基金项目:江苏省高校自然科学基金
摘    要:XML模式验证作为处理XML数据的前提和保证有着重要的地位,XML Schema作为XML的定义语言,其本身并不能保证XML数据的有效性.利用XML Schema抽象模型,定义了XML Schema中每个复杂类型的模式信息,并用非终节点序对集描述XML文档,最后给出了XML模式验证算法,可以有效地验证XML文档的组织结构和内容类型.

关 键 词:XML  验证  XML  Schema  类型  标记树  Schema  抽象模型  模式信息  验证方法  MODEL  XML  SCHEMA  ABSTRACT  VALIDATION  DOCUMENT  内容类型  组织结构  验证算法  文档  描述  节点  复杂类型  利用  有效性  定义语言  地位
修稿时间:2006-04-13

A METHOD FOR XML DOCUMENT SCHEMA VALIDATION WITH ABSTRACT XML SCHEMA MODEL
Wang Weiliang,Shi Quan,Cao Qujiang.A METHOD FOR XML DOCUMENT SCHEMA VALIDATION WITH ABSTRACT XML SCHEMA MODEL[J].Computer Applications and Software,2007,24(3):41-43,60.
Authors:Wang Weiliang  Shi Quan  Cao Qujiang
Affiliation:1. College of Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China; 2 . Nantong University, Nantong Jiangsu 226001, China
Abstract:XML validation which is the precondition and guarantee in the use of XML plays a crucial role.XML Schema is a language for defining schemata of XML documents.But it can't guarantee the validity of XML documents.This paper uses Abstract XML Schema Model to define information of every complex type in the XML Schema,and XML document is described into a set of pairs of non-terminal elements.Finally,an algorithm is proposed to validate XML documents.This method with Abstract XML Schema Model can validate the structure of XML document and the type of terminal element.
Keywords:XML Validation XML schema Type Labeled tree
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号