|
ABSTRACT
Our experimental analysis of several popular XPath processors reveals a striking fact: Query evaluation in each of the systems requires time exponential in the size of queries in the worst case. We show that XPath can be processed much more efficiently, and propose main-memory algorithms for this problem with polynomial-time combined query evaluation complexity. Moreover, we show how the main ideas of our algorithm can be profitably integrated into existing XPath processors. Finally, we present two fragments of XPath for which linear-time query processing algorithms exist and another fragment with linear-space/quadratic-time query processing.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
|
| |
3
|
Apache Foundation. 2004. Xalan-Java version 2.2.D11. http://xml.apache.org/xalan-j/.
|
 |
4
|
|
 |
5
|
|
| |
6
|
Chan, C. Y., Fan, W., Felber, P., Garofalakis, M. N., and Rastogi, R. 2002a. Tree pattern aggregation for scalable XML data dissemination. In Proceedings of the 28th International Conference on Very Large Data Bases (VLDB'02) (Hong Kong, China). 826--837.
|
| |
7
|
|
| |
8
|
Clark, J. 1999. XT---A Java implementation of XSLT. http://www.jclark.com/xml/xt.html/.
|
| |
9
|
|
 |
10
|
|
| |
11
|
|
 |
12
|
|
 |
13
|
|
| |
14
|
Kay, M. 2003. Saxon version 6.5.2. http://saxon.sourceforge.net/.
|
| |
15
|
Kilpeläinen, P. 1992. Tree matching problems with applications to structured text databases. Ph.D. dissertation. Department of Computer Science, University of Helsinki. Report A-1992-6.
|
| |
16
|
Microsoft Corporation. 2001. Internet Explorer IE6. http://www.microsoft.com/windows/ie/default.asp.
|
 |
17
|
|
 |
18
|
|
 |
19
|
|
 |
20
|
|
| |
21
|
|
| |
22
|
Wadler, P. 2000. Two semantics for XPath. Draft paper available at http://www.research.avayalabs. com/user/wadler/.
|
| |
23
|
World Wide Web Consortium. 1998. XSL working draft http://www.w3.org/TR/1998/WD-xsl-19981216.
|
| |
24
|
World Wide Web Consortium. 1999. XML Path Language (XPath) Recommendation. http://www.w3c.org/TR/xpath/.
|
| |
25
|
World Wide Web Consortium. 2000. Extensible Markup Language (XML) 1.0 (second edition). http://www.w3.org/TR/REC-xml.
|
| |
26
|
World Wide Web Consortium. 2002. XQuery 1.0 and XPath 2.0 formal semantics. W3C working draft (Aug. 16th 2002). http://www.w3.org/TR/query-algebra/.
|
| |
27
|
World Wide Web Consortium. 2004a. DOM Specification http://www.w3c.org/DOM/.
|
| |
28
|
World Wide Web Consortium. 2004b. XML Path Language (XPath) 2.0, working draft. http://www.w3.org/TR/2004/WD-xpath20-20040723/.
|
| |
29
|
Yannakakis, M. 1981. Algorithms for acyclic database schemes. In Proceedings of the 7th International Conference on Very Large Data Bases (VLDB'81). 82--94.
|
CITED BY 32
|
|
Marc Gyssens , Jan Paredaens , Dirk Van Gucht , George H. L. Fletcher, Structural characterizations of the semantics of XPath as navigation tool on a document, Proceedings of the twenty-fifth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, June 26-28, 2006, Chicago, IL, USA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Xiaoying Wu , Stefanos Souldatos , Dimitri Theodoratos , Theodore Dalamagas , Timos Sellis, Efficient evaluation of generalized path pattern queries on XML data, Proceeding of the 17th international conference on World Wide Web, April 21-25, 2008, Beijing, China
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
George H. L. Fletcher , Dirk Van Gucht , Yuqing Wu , Marc Gyssens , Sofía Brenes , Jan Paredaens, A methodology for coupling fragments of XPath with structural indexes for XML documents, Information Systems, v.34 n.7, p.657-670, November, 2009
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|