Abstract
Support for updating XML documents has recently attracted interest. When an XML document is to conform to a given schema, the problem of structural consistency arises during updating, i.e., how to incrementally guarantee that the modified XML document continues to conform to the given XML Schema. To achieve this following the traditional database approach, the XML Schema would first have to be analyzed to construct a structured repository and the XML documents would have to be loaded into this repository before any update could be checked for possible schema constraint violation. Due to the very nature of XML being lightweight and freely shared over the Web, we instead propose a novel approach towards incremental constraint checking that follows the loosely-coupled web paradigm. Namely, we propose to rewrite an XML update query into a safe XML update query by extending the original query with appropriate constraint checking subqueries. This enhanced XML update query can then safely be executed using any existing XQuery engine that supports updates. In order to verify the feasibility of our approach, we have implemented a prototype, SAXE, that implements the above techniques by extending the Kweelt XML query engine by University of Pennsylvania with both XML update support as well as incremental constraint support.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Aho, V., Sethi, R., Ullman, J.D.: Compilers: Principles, Techniques and Tools. Addison-Wesley, Reading (1986)
Bird, L., Goodchild, A., Halpin, T.A.: Object role modelling and xmlschema. In: International Conference on Conceptual Modeling / the Entity Relationship Approach, pp. 309–322 (2000)
Chamberlin, D., Robie, J., Florescu, D.: Quilt (2002)
IBM. XML Parser for Java (2000), http://www.alphaworks.ibm.com/tech/xml4j
IBM Software: Database and Data Management. DB2 XML Extender (2000), http://www-4.ibm.com
Kappel, G., Kapsammer, E., Rausch-Schott, S., Retschitzegger, W.: Xray - Towards integrating XML and relational database systems. In: International Conference on Conceptual Modeling / the Entity Relationship Approach, pp. 339–353 (2000)
Object Design. Excelon Data Integration Server (1999), http://www.odi.com/excelon
Oracle. Oracle9i application developer’s guilde - xml release 1 (9.0.1): Database support for xml (2002), http://download-east.oracle.com/otndoc/oracle9i/901_doc/appdev.901/a88894/adx05xml.htm
Sahuguet, A., Dupont, L.: Querying xml in the new millennium (2002)
Su, H., Kramer, D., Claypool, K., Chen, L., Rundensteiner, E.A.: XEM: Managing the Evolution of XML Documents. In: International Workshop on Research Issues in Data Engineering, pp. 103–110 (2000)
Tatarinov, I., Ives, Z., Halevy, A.Y., Weld, D.S.: Updating XML. In: SIGMOD, pp. 413–424 (2001)
Tompson, H.: xsv: schema validator (2002)
W3C. XML Path Language (XPath) Version 1.0 (1999), http://www.w3.org/TR/xpath
W3C. XML Path Language (XPath) Version 1.0 (1999), http://www.w3.org/TR/xpath
W3C. XML Schema (2001), http://www.w3.org/XML/Schema
W3C. XQuery 1.0: An XML Query Language (2001), http://www.w3.org/TR/xquery/
XML:DB (2002), http://www.xmldb.org/
XUpdate. XML:DB (2002), http://www.xmldb.org/xupdate/xupdate-wd.html
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Su, H. et al. (2003). A Lightweight XML Constraint Check and Update Framework. In: Olivé, A., Yoshikawa, M., Yu, E.S.K. (eds) Advanced Conceptual Modeling Techniques. ER 2002. Lecture Notes in Computer Science, vol 2784. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45275-1_4
Download citation
DOI: https://doi.org/10.1007/978-3-540-45275-1_4
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-20255-4
Online ISBN: 978-3-540-45275-1
eBook Packages: Springer Book Archive