摘要
XML Schema作为XML文档模式的定义语言,其语法本身不能保证定义模式的有效性。该文首先分析影响XML文档模式有效性的因素,并构造了XML文档模式图。依据XML实例文档特点,分析了XML文档模式图性质,其中包括递归引用可能导致死锁发生的原因。最后,给出了XML文档模式有效性验证算法,从而弥补了常见验证工具功能的不完整。
XML Schema is a language for defining schemata of XML documents.But it can't guarantee the validity of the defined schemata based on its syntax.This paper analyzes the cause of breaking down the validity and constructs schema graphs of XML document.According to the features of XML document,the paper summarizes the properties of schema graphs,including the reason of deadlock caused by recursive reference.Finally,an algorithm is proposed to validate schemata of XML document.Therefore,it improves the ability of familiar validating tools.
出处
《计算机工程与应用》
CSCD
北大核心
2005年第16期86-89,共4页
Computer Engineering and Applications
基金
"十五"部委预研项目