Types for path correctness of XML queries

被引:19
作者
Colazzo, D [1 ]
Ghelli, G [1 ]
Manghi, P [1 ]
Sartiani, C [1 ]
机构
[1] Univ Pisa, Dipartimento Informat, Pisa, Italy
关键词
languages; theory; algorithms; verification; type correctness; XML queries; XML types;
D O I
10.1145/1016848.1016869
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:126 / 137
页数:12
相关论文
共 37 条
  • [31] Shortest-Path Queries in Planar Graphs on GPU-Accelerated Architectures
    Chapuis, Guillaume
    Djidjev, Hristo
    [J]. LARGE-SCALE SCIENTIFIC COMPUTING, LSSC 2015, 2015, 9374 : 53 - 60
  • [32] Query-by-Sketch: Scaling Shortest Path Graph Queries on Very Large Networks
    Wang, Ye
    Wang, Qing
    Koehler, Henning
    Lin, Yu
    [J]. SIGMOD '21: PROCEEDINGS OF THE 2021 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2021, : 1946 - 1958
  • [33] Applicability of genetic algorithms to optimal evaluation of path predicates in object-oriented queries
    Seo, SK
    Lee, YJ
    [J]. INFORMATION PROCESSING LETTERS, 1996, 58 (03) : 123 - 128
  • [34] Estimating searching cost of regular path queries on large graphs by exploiting unit-subqueries
    Van-Quyet Nguyen
    Quyet-Thang Huynh
    Kim, Kyungbaek
    [J]. JOURNAL OF HEURISTICS, 2022, 28 (02) : 149 - 169
  • [35] Processing time-dependent shortest path queries without pre-computed speed information on road networks
    Kim, Jinha
    Han, Wook-Shin
    Oh, Jinoh
    Kim, Sungchul
    Yu, Hwanjo
    [J]. INFORMATION SCIENCES, 2014, 255 : 135 - 154
  • [36] A Sampling-Based Approach to Solve Difficult Path Planning Queries Efficiently in Narrow Environments for Autonomous Ground Vehicles
    Kiss, Domokos
    [J]. UNMANNED SYSTEMS, 2024,
  • [37] Optimal Switching Sequence Path for Distribution Network Reconfiguration Considering Different Types of Distributed Generation
    Badran, Ola
    Mekhilef, Saad
    Mokhlis, Hazlie
    Dahalan, Wardiah
    [J]. IEEJ TRANSACTIONS ON ELECTRICAL AND ELECTRONIC ENGINEERING, 2017, 12 (06) : 874 - 882