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 条
  • [21] Rectilinear short path queries among rectangular obstacles
    Chen, DZ
    Klenk, KS
    INFORMATION PROCESSING LETTERS, 1996, 57 (06) : 313 - 319
  • [22] Approximate Shortest Path Queries Using Voronoi Duals
    Honiden, Shinichi
    Houle, Michael E.
    Sommer, Christian
    Wolff, Martin
    TRANSACTIONS ON COMPUTATIONAL SCIENCE IX, 2010, 6290 : 28 - 53
  • [23] Data Path Queries over Embedded Graph Databases
    Figueira, Diego
    Jez, Artur
    Lin, Anthony W.
    PROCEEDINGS OF THE 41ST ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS (PODS '22), 2022, : 189 - 201
  • [24] Parallel Shortest-Path Queries in Planar Graphs
    Aleksandrov, Lyudmil
    Chapuis, Guillaume
    Djidjev, Hristo
    PROCEEDINGS OF THE ACM WORKSHOP ON HIGH PERFORMANCE GRAPH PROCESSING (HPGP'16), 2016, : 9 - 16
  • [25] Efficient Filtering of Branch Queries for High-Performance XML Data Services
    Choi, Ryan H.
    Wang, Raymond K.
    JOURNAL OF DATABASE MANAGEMENT, 2009, 20 (02) : 58 - 83
  • [26] Efficiently Estimating Joining Cost of Subqueries in Regular Path Queries
    Nguyen, Van-Quyet
    Nguyen, Van-Hau
    Nguyen, Minh-Quy
    Huynh, Quyet-Thang
    Kim, Kyungbaek
    ELECTRONICS, 2021, 10 (09)
  • [27] L1 shortest path queries in simple polygons
    Bae, Sang Won
    Wang, Haitao
    THEORETICAL COMPUTER SCIENCE, 2019, 790 : 105 - 116
  • [28] Path Categories and Propositional Identity Types
    van den Berg, Benno
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2018, 19 (02)
  • [29] Bounded regular path queries in view-based data integration
    Grahne, Goesta
    Thomo, Alex
    INFORMATION PROCESSING LETTERS, 2009, 109 (13) : 739 - 744
  • [30] Path sharing and predicate evaluation for high-performance XML filtering
    Diao, YL
    Altinel, M
    Franklin, MJ
    Zhang, H
    Fischer, P
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2003, 28 (04): : 467 - 516