首页    期刊浏览 2024年11月30日 星期六
登录注册

文章基本信息

  • 标题:Automata-based Static Analysis of XML Document Adaptation
  • 本地全文:下载
  • 作者:Alessandro Solimando ; Giorgio Delzanno ; Giovanna Guerrini
  • 期刊名称:Electronic Proceedings in Theoretical Computer Science
  • 电子版ISSN:2075-2180
  • 出版年度:2012
  • 卷号:96
  • 页码:85-98
  • DOI:10.4204/EPTCS.96.7
  • 出版社:Open Publishing Association
  • 摘要: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'.
国家哲学社会科学文献中心版权所有