Hostname: page-component-6766d58669-r8qmj Total loading time: 0 Render date: 2026-05-24T00:42:33.145Z Has data issue: false hasContentIssue false

Context-preserving XQuery fusion

Published online by Cambridge University Press:  10 November 2014

H. KATO
Affiliation:
National Institute of Informatics, Japan Email: kato@nii.ac.jp
S. HIDAKA
Affiliation:
National Institute of Informatics, Japan Email: kato@nii.ac.jp
Z. HU
Affiliation:
National Institute of Informatics, Japan Email: kato@nii.ac.jp
K. NAKANO
Affiliation:
The University of Electro-Communications, Japan
Y. ISHIHARA
Affiliation:
Osaka University, Japan

Abstract

This paper solves the known problem of elimination of unnecessary internal element construction as well as variable elimination in XML processing with (a subset of) XQuery without ignoring the issues of document order. The semantics of XQuery is context sensitive and requires preservation of document order. In this paper, we propose, as far as we are aware, the first XQuery fusion that can deal with both the document order and the context of XQuery expressions. More specifically, we carefully design a context representation of XQuery expressions based on the Dewey order encoding, develop a context-preserving XQuery fusion for ordered trees by static emulation of the XML store, and prove that our fusion is correct. Our XQuery fusion has been implemented, and all the examples in this paper have passed through the system.

Information

Type
Paper
Copyright
Copyright © Cambridge University Press 2014 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable