基于XML Schema抽象模型的XML模式验证方法  被引量:9

A METHOD FOR XML DOCUMENT SCHEMA VALIDATION WITH ABSTRACT XML SCHEMA MODEL

在线阅读下载全文

作  者:王伟良[1] 施佺[1] 曹渠江[1] 

机构地区:[1]上海理工大学计算机工程学院,上海200093

出  处:《计算机应用与软件》2007年第3期41-43,60,共4页Computer Applications and Software

基  金:江苏省高校自然科学基金资助(05KJB520107)。

摘  要:XML模式验证作为处理XML数据的前提和保证有着重要的地位,XML Schema作为XML的定义语言,其本身并不能保证XML数据的有效性。利用XML Schema抽象模型,定义了XML Schema中每个复杂类型的模式信息,并用非终节点序对集描述XML文档,最后给出了XML模式验证算法,可以有效地验证XML文档的组织结构和内容类型。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.

关 键 词:XML验证 XML SCHEMA 类型 标记树 

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象