Automata-based Static Analysis of XML Document Adaptation

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,...

Full description

Bibliographic Details
Main Authors: Alessandro Solimando, Giorgio Delzanno, Giovanna Guerrini
Format: Article
Language:English
Published: Open Publishing Association 2012-10-01
Series:Electronic Proceedings in Theoretical Computer Science
Online Access:http://arxiv.org/pdf/1210.2453v1
id doaj-4db16f1082fe4ef3a5d409d597daca77
record_format Article
spelling doaj-4db16f1082fe4ef3a5d409d597daca772020-11-24T22:02:36ZengOpen Publishing AssociationElectronic Proceedings in Theoretical Computer Science2075-21802012-10-0196Proc. GandALF 2012859810.4204/EPTCS.96.7Automata-based Static Analysis of XML Document AdaptationAlessandro SolimandoGiorgio DelzannoGiovanna GuerriniThe 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'. http://arxiv.org/pdf/1210.2453v1
collection DOAJ
language English
format Article
sources DOAJ
author Alessandro Solimando
Giorgio Delzanno
Giovanna Guerrini
spellingShingle Alessandro Solimando
Giorgio Delzanno
Giovanna Guerrini
Automata-based Static Analysis of XML Document Adaptation
Electronic Proceedings in Theoretical Computer Science
author_facet Alessandro Solimando
Giorgio Delzanno
Giovanna Guerrini
author_sort Alessandro Solimando
title Automata-based Static Analysis of XML Document Adaptation
title_short Automata-based Static Analysis of XML Document Adaptation
title_full Automata-based Static Analysis of XML Document Adaptation
title_fullStr Automata-based Static Analysis of XML Document Adaptation
title_full_unstemmed Automata-based Static Analysis of XML Document Adaptation
title_sort automata-based static analysis of xml document adaptation
publisher Open Publishing Association
series Electronic Proceedings in Theoretical Computer Science
issn 2075-2180
publishDate 2012-10-01
description 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'.
url http://arxiv.org/pdf/1210.2453v1
work_keys_str_mv AT alessandrosolimando automatabasedstaticanalysisofxmldocumentadaptation
AT giorgiodelzanno automatabasedstaticanalysisofxmldocumentadaptation
AT giovannaguerrini automatabasedstaticanalysisofxmldocumentadaptation
_version_ 1725834926461288448