Incremental validation of XML documents

Author:

Balmin Andrey1,Papakonstantinou Yannis2,Vianu Victor2

Affiliation:

1. IBM Almaden Research Center, San Jose, CA

2. University of California at San Diego, La Jolla, CA

Abstract

We investigate the incremental validation of XML documents with respect to DTDs, specialized DTDs, and XML Schemas, under updates consisting of element tag renamings, insertions, and deletions. DTDs are modeled as extended context-free grammars. "Specialized DTDs" allow the decoupling of element types from element tags. XML Schemas are abstracted as specialized DTDs with limitations on the type assignment. For DTDs and XML Schemas, we exhibit an O ( m log n ) incremental validation algorithm using an auxiliary structure of size O ( n ), where n is the size of the document and m the number of updates. The algorithm does not handle the incremental validation of XML Schema wrt renaming of internal nodes, which is handled by the specialized DTDs incremental validation algorithm. For specialized DTDs, we provide an O ( m log 2 n ) incremental algorithm, again using an auxiliary structure of size O ( n ). This is a significant improvement over brute-force re-validation from scratch.We exhibit a restricted class of DTDs called local that arise commonly in practice and for which incremental validation can be done in practically constant time by maintaining only a list of counters. We present implementations of both general incremental validation and local validation on an XML database built on top of a relational database.Our experimentation includes a study of the applicability of local validation in practice, results on the calibration of parameters of the auxiliary data structure, and results on the performance comparison between the general incremental validation technique, the local validation technique, and brute-force validation from scratch.

Publisher

Association for Computing Machinery (ACM)

Subject

Information Systems

Reference38 articles.

1. Balmin A. and Papakonstantinou Y. 2004. Storing and querying XML data using denormalized relational databases. VLDB J. (Online First section). Available online at http://springerlink.metapress.com/openurl.asp?genre=article&id=doi:10.1007/s00778-003-0113-1. Also available online at http://www.db.ucsd.edu/people/andrey. 10.1007/s00778-003-0113-1 Balmin A. and Papakonstantinou Y. 2004. Storing and querying XML data using denormalized relational databases. VLDB J. (Online First section). Available online at http://springerlink.metapress.com/openurl.asp?genre=article&id=doi:10.1007/s00778-003-0113-1. Also available online at http://www.db.ucsd.edu/people/andrey. 10.1007/s00778-003-0113-1

2. Bruggemann-Klein A. Murata M. and Wood D. 2001. Regular tree and regular hedge languages over non-ranked alphabets. Tech. rep. HKUST-TCSC-2001-05. Hong Kong University of Science and Technology Computer Science Center Hong Kong. Available online at http://www.cs.ust.hk/tcsc/RR/2001-05.ps.gz. Bruggemann-Klein A. Murata M. and Wood D. 2001. Regular tree and regular hedge languages over non-ranked alphabets. Tech. rep. HKUST-TCSC-2001-05. Hong Kong University of Science and Technology Computer Science Center Hong Kong. Available online at http://www.cs.ust.hk/tcsc/RR/2001-05.ps.gz.

3. One-Unambiguous Regular Languages

Cited by 51 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Enumeration for FO Queries over Nowhere Dense Graphs;Journal of the ACM;2022-06-11

2. A proposal for future data organization in enterprise systems—an analysis of established database approaches;Information Systems and e-Business Management;2022-05-04

3. Towards Elastic Incrementalization for Datalog;23rd International Symposium on Principles and Practice of Declarative Programming;2021-09-06

4. Learning Finite Automata with Shuffle;Advances in Knowledge Discovery and Data Mining;2021

5. XML data manipulation in conventional and temporal XML databases: A survey;Computer Science Review;2020-05

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3