Identifying Query Incompatibilities with Evolving XML Schemas

Pierre Genevès 1 Nabil Layaïda 1 Vincent Quint 1
1 WAM - Web, adaptation and multimedia
Inria Grenoble - Rhône-Alpes, LIG - Laboratoire d'Informatique de Grenoble
Abstract : During the life cycle of an XML application, both schemas and queries may change from one version to another. Schema evolutions may affect query results and potentially the validity of produced data. Nowadays, a challenge is to assess and accommodate the impact of these changes in evolving XML applications. Such questions arise naturally in XML static analyzers. These analyzers often rely on decision procedures such as inclusion between XML schemas, query containment and satisfiability. However, existing decision procedures cannot be used directly in this context. The reason is that they are unable to distinguish information related to the evolution from information corresponding to bugs. This paper proposes a predicate language within a logical framework that can be used to make this distinction. We present a system for monitoring the effect of schema evolutions on the set of admissible documents and on the results of queries. The system is very powerful in analyzing various scenarios where the result of a query may not be anymore what was expected. Specifically, the system is based on a set of predicates which allow a fine-grained analysis for a wide range of forward and backward compatibility issues. Moreover, the system can produce counterexamples and witness documents which are useful for debugging purposes. The current implementation has been tested with realistic use cases, where it allows identifying queries that must be reformulated in order to produce the expected results across successive schema versions.
Complete list of metadatas

Cited literature [23 references]  Display  Hide  Download

https://hal.inria.fr/inria-00423058
Contributor : Vincent Quint <>
Submitted on : Friday, October 9, 2009 - 11:56:31 AM
Last modification on : Thursday, October 11, 2018 - 8:48:03 AM
Long-term archiving on : Tuesday, October 16, 2012 - 12:05:36 PM

File

types-evolution.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Pierre Genevès, Nabil Layaïda, Vincent Quint. Identifying Query Incompatibilities with Evolving XML Schemas. ICFP'09, Aug 2009, Edinburgh, United Kingdom. pp.221-230, ⟨10.1145/1596550.1596583⟩. ⟨inria-00423058⟩

Share

Metrics

Record views

353

Files downloads

287