arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1210.2453cs.DBcs.DScs.FL
收藏

基于自动机的XML文档自适应静态分析

Automata-based Static Analysis of XML Document Adaptation

Alessandro Solimando, Giorgio Delzanno, Giovanna Guerrini

摘要:

XML文档的结构可以通过XML模式的方式可选地指定,从而能够利用结构信息进行有效的文档处理。在模式演变时,或者当在利用相关但不相同的模式的不同集合之间交换文档时,可能出现使已知对于给定模式S有效的文档适应目标模式S '的需要。该适配可能需要元素语义的知识,并且不能总是自动导出。在本文中,我们提出了一个自动机为基础的静态分析的用户定义的XML文档的适应性,表示为序列的XQuery更新更新原语。该方法的主要特点是使用自动推理方法提取的类型,表示为一个对冲自动机,一系列的文件更新。从原始模式S和重写规则开始计算类型,重写规则形式上定义了文档更新序列的操作语义。然后,类型包含可以用作一致性测试w.r.t.。从目标模式S '中提取的类型。

英文摘要:

The structure of an XML document can be optionally specified by means of XML Schema, thus enabling the exploitation of structural information for efficient document handling. Upon schema evolution, or when exchanging documents among different collections exploiting related but not identical schemas, the need may arise of adapting a document, known to be valid for a given schema S, to a target schema S'. The adaptation may require knowledge of the element semantics and cannot always be automatically derived. In this paper, we present an automata-based method for the static analysis of user-defined XML document adaptations, expressed as sequences of XQuery Update update primitives. The key feature of the method is the use of an automatic inference method for extracting the type, expressed as a Hedge Automaton, of a sequence of document updates. The type is computed starting from the original schema S and from rewriting rules that formally define the operational semantics of a sequence of document updates. Type inclusion can then be used as conformance test w.r.t. the type extracted from the target schema S'.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑