If a subexpression in a query will never contribute data to the query answer, this 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 useful to understand some unusual features of our type system.

Types for Path Correctness of XML Queries

PAOLO MANGHI;
2004

Abstract

If a subexpression in a query will never contribute data to the query answer, this 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 useful to understand some unusual features of our type system.
2004
Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" - ISTI
Inglese
Proceedings of the ninth ACM SIGPLAN International Conference on Functional Programming
39
126
137
1-58113-905-5
http://dl.acm.org/citation.cfm?id=1016869
Sì, ma tipo non specificato
September 19-22, 2004
Snowbird, Utah
Type Correctness
XML Queries
XML Types
Pubblicato anche in Newsletter ACM SIGPLAN Notices - ICFP '04 Homepage Volume 39 Issue 9, September 2004 ACM New York, NY, USA table of contents doi>10.1145/1016848.1016869
1
reserved
DARIO COLAZZO; GIORGIO GHELLI; PAOLO MANGHI; CARLO SARTIANI
273
info:eu-repo/semantics/conferenceObject
04 Contributo in convegno::04.01 Contributo in Atti di convegno
File in questo prodotto:
File Dimensione Formato  
prod_178564-doc_31697.pdf

non disponibili

Descrizione: Articolo in conferenza internazionale
Tipologia: Versione Editoriale (PDF)
Dimensione 203.81 kB
Formato Adobe PDF
203.81 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/14690
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? 19
social impact