A part of a query that will never contribute data to the query answer should be regarded as an error. This principle has been recently accepted into mainstream XML query languages, but was still waiting for a complete treatment. We provide here a precise definition for this class of errors, and define a type system that is sound and complete, in its search for such errors, for a core language, under mild restrictions on the use of recursion in type definitions. In the process, we describe a dichotomy among existential and universal type systems, which is essential to understand some specific features of our type system.

Static analysis for path correctness of XML queries

PAOLO MANGHI;
2006

Abstract

A part of a query that will never contribute data to the query answer should be regarded as an error. This principle has been recently accepted into mainstream XML query languages, but was still waiting for a complete treatment. We provide here a precise definition for this class of errors, and define a type system that is sound and complete, in its search for such errors, for a core language, under mild restrictions on the use of recursion in type definitions. In the process, we describe a dichotomy among existential and universal type systems, which is essential to understand some specific features of our type system.
2006
Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" - ISTI
File in questo prodotto:
File Dimensione Formato  
prod_177871-doc_10834.pdf

non disponibili

Descrizione: Articolo su rivista internazionale
Tipologia: Versione Editoriale (PDF)
Dimensione 544.92 kB
Formato Adobe PDF
544.92 kB Adobe PDF   Visualizza/Apri   Richiedi una copia
prod_177871-doc_37491.pdf

non disponibili

Descrizione: Static analysis for path correctness of XML queries
Tipologia: Versione Editoriale (PDF)
Dimensione 47.26 kB
Formato Adobe PDF
47.26 kB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/157246
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 18
  • ???jsp.display-item.citation.isi??? 13
social impact