XML with data values: typechecking revisited

作者:

Highlights:

摘要

We investigate the typechecking problem for XML queries: statically verifying that every answer to a query conforms to a given output DTD, for inputs satisfying a given input DTD. This problem had been studied by a subset of the authors in a simplified framework that captured the structure of XML documents but ignored data values. We revisit here the typechecking problem in the more realistic case when data values are present in documents and tested by queries. In this extended framework, typechecking quickly becomes undecidable. However, it remains decidable for large classes of queries and DTDs of practical interest. The main contribution of the present paper is to trace a fairly tight boundary of decidability for typechecking with data values. The complexity of typechecking in the decidable cases is also considered.

论文关键词:

论文评审过程:Received 25 September 2001, Revised 13 July 2002, Available online 8 May 2003.

论文官网地址:https://doi.org/10.1016/S0022-0000(03)00032-1