[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/1754239.1754262acmotherconferencesArticle/Chapter ViewAbstractPublication PagesedbtConference Proceedingsconference-collections
research-article

The view update problem for XML

Published: 22 March 2010 Publication History

Abstract

We study the problem of update propagation across views in the setting where both the view and the source database are XML documents. We consider a simple class of XML views that remove selected parts of the source document. The considered update operations permit to insert and delete subtrees of the document. We focus on constructing propagations that are 1) schema compliant i.e., when applied to the source document they give a document that satisfies the document schema; 2) side-effect free i.e., the view of the new source document is exactly as the result of applying the user update to the old view. We present a special structure allowing to capture all such propagations. We also show how to use this structure to capture only those propagations that affect minimally the parts of the document which are not visible in the view. Finally, we present a general outline of a polynomial algorithm constructing a unique propagation.

References

[1]
W3C. Extensible markup language (XML) 1.0, 1999. http://www.w3.org/TR/xml/.
[2]
A. Vakali, B. Catania, and A. Maddalena. XML data stores: Emerging practices. IEEE Internet Computing, 9(2):62--69, 2005.
[3]
E. F. Codd. Recent investigations in relational data base systems. In IFIP Congress, 1974.
[4]
Umeshwar Dayal and Philip A. Bernstein. On the correct translation of update operations on relational views. TODS, 7(3), 1982.
[5]
F. Bancilhon and N. Spyratos. Update semantics of relational views. ACM Transactions on Database Systems (TODS), 6, 1981.
[6]
S. Cosmadakis and C. Papadimitriou. Updates of relational views. Journal of the ACM, 31(4):742--760, 1984.
[7]
J. Lechtenbörger and G. Vossen. On the computation of relational view complements. ACM Transactions on Database Systems (TODS), 28(2):175--208, 2003.
[8]
R. Ramakrishnan and J. Gehrke. Database Management Systems. WCB/McGraw-Hill, 2000.
[9]
W. Fan, F. Geerts, X. Jia, and A. Kementsietsidis. Rewriting regular XPath queries on XML views. In International Conference on Data Engineering (ICDE), pages 666--675, 2007.
[10]
B. Groz, S. Staworko, A.-C. Caron, Y. Roos, and S. Tison. XML security views revisited. In International Symposium on Database Programming Languages (DBPL), volume 5708 of Lecture Notes in Computer Science. Springer, August 2009.
[11]
W3C. XQuery update facility 1.0, 2009. http://www.w3.org/TR/xquery-update-10/.
[12]
Henrik Björklund, Wouter Gelade, Marcel Marquardt, and Wim Martens. Incremental xpath evaluation. In ICDT 2009, 2009. preprint.
[13]
A Balmin, Y. Papakonstantinou, and V. Vianu. Incremental validation of XML documents. ACM Transactions on Database Systems (TODS), 29(4):710--751, December 2004.
[14]
M. Benedikt, W. Fan, and F. Geerts. XPath satisfiability in the presence of DTDs. In ACM Symposium on Principles of Database Systems (PODS), 2005.
[15]
M. Benedikt and I. Fundulaki. XML subtree queries: Specification and composition. In International Symposium on Database Programming Languages (DBPL), pages 138--153, 2005.
[16]
T. Jiang, L. Wang, and K. Zhang. Alignment of trees - an alternative to tree edit. Theoretical Computer Science (TCS), 143(1):137--148, 1995.
[17]
Y. Papakonstantinou and V. Vianu. DTD inference for views of XML data. In ACM Symposium on Principles of Database Systems (PODS), pages 35--46, 2000.
[18]
W. Martens, F. Neven, T. Schwentick, and G. J. Bex. Expressiveness and complexity of XML schema. ACM Transactions on Database Systems (TODS), 31(3):770--813, 2006.
[19]
J. Nathan Foster, Michael B. Greenwald, Jonathan T. Moore, Benjamin C. Pierce, and Alan Schmitt. Combinators for bidirectional tree transformations: A linguistic approach to the view-update problem. ACM Transactions on Programming Languages and Systems (TOPLAS), 29, 2007.
[20]
J. N. Foster, B. C. Pierce, and S. Zdancewic. Updatable security views. In Computer Security Foundations Symposium, 2009.
[21]
Ling Wang, Elke A. Rundensteiner, and Murali Mani. Updating XML views published over relational databases: Towards the existence of a correct update mapping. Data and Knowledge Engineering, 58, 2006.
[22]
Vanessa P. Braganholo, Susan B. Davidson, and Carlos A. Heuser. PataxÓ: A framework to allow updates through XML views. ACM Transactions on Database Systems (TODS), 31, 2006.
[23]
Byron Choi, Gao Cong, Wenfei Fan, and Stratis D. Viglas. Updating recursive XML views of relations. Journal of Computer Science and Technology, 23, 2008.
[24]
L. Fegaras. Propagating updates through XML views using lineage tracing. In International Conference on Data Engineering (ICDE), 2010.
[25]
P. Boncz, T. Grust, M. Keulen, S. Manegold, J. Rittinger, and J. Teubner. MonetDB/XQuery: a fast XQuery processor powered by a relational engine. In ACM SIGMOD International Conference on Management of Data, pages 479--490, 2006.
[26]
I. Tatarinov, K. Beyer, and J. Shanmugasundaram. Storing and querying ordered XML using a relational database system. In ACM SIGMOD International Conference on Management of Data, pages 204--215, 2002.
[27]
S. Staworko and J. Chomicki. Validity-sensitive querying of XML databases. In EDBT Workshops (dataX), pages 164--177. Springer, 2006.
[28]
Beatrice Bouchou, Ahmed Cheriat, Myrian Halfeld Ferrari, and Agata Savary. XML document correction: Incremental approach activated by schema validation. In 10th International Database Engineering and Applications Symposium (IDEAS'06), 2006.
[29]
K. Matsuda, Z. Hu, and M. Takeichi. Type-based specialization of XML transformations. In ACM SIGPLAN Symposium on Partial Evaluation and Semantics-based Program Manipulation (PEPM), pages 61--72, 2009.
[30]
D. Liu, Z. Hu, and M. Takeichi. Bidirectional interpretation of XQuery. In ACM SIGPLAN Symposium on Partial Evaluation and Semantics-based Program Manipulation (PEPM), pages 21--30, 2007.
[31]
D. Shasha and K. Zhang. Approximate tree pattern matching. In A. Apostolico and Z. Galil, editors, Pattern Matching in Strings, Trees, and Arrays, pages 341--371. Oxford University Press, 1997.
[32]
F. Servais and J.-F. Raskin. Visibly pushdown transducers. In International Colloquium on Automata, Languages and Programming (ICALP), 2008.
[33]
H. Comon, M. Dauchet, R. Gilleron, C. Löding, F. Jacquemard, D. Lugiez, S. Tison, and M. Tommasi. Tree automata techniques and applications. Available on: http://www.grappa.univ-lille3.fr/tata, 1997. release 2007.

Cited By

View all
  • (2014)Efficient Multiview Maintenance under Insertion in Huge Social NetworksACM Transactions on the Web10.1145/25412908:2(1-32)Online publication date: 1-Mar-2014
  • (2011)View update translation for XMLProceedings of the 14th International Conference on Database Theory10.1145/1938551.1938560(42-53)Online publication date: 21-Mar-2011
  • (2010)XML materialized views and schema evolution in VIREXInformation Sciences: an International Journal10.1016/j.ins.2010.08.025180:24(4940-4957)Online publication date: 1-Dec-2010

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Other conferences
EDBT '10: Proceedings of the 2010 EDBT/ICDT Workshops
March 2010
290 pages
ISBN:9781605589909
DOI:10.1145/1754239
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 22 March 2010

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article

Conference

EDBT/ICDT '10
EDBT/ICDT '10: EDBT/ICDT '10 joint conference
March 22 - 26, 2010
Lausanne, Switzerland

Acceptance Rates

Overall Acceptance Rate 7 of 10 submissions, 70%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 18 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2014)Efficient Multiview Maintenance under Insertion in Huge Social NetworksACM Transactions on the Web10.1145/25412908:2(1-32)Online publication date: 1-Mar-2014
  • (2011)View update translation for XMLProceedings of the 14th International Conference on Database Theory10.1145/1938551.1938560(42-53)Online publication date: 21-Mar-2011
  • (2010)XML materialized views and schema evolution in VIREXInformation Sciences: an International Journal10.1016/j.ins.2010.08.025180:24(4940-4957)Online publication date: 1-Dec-2010

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media