Title :
Reference-Sensitivity Analysis in Partial Evaluation for XQuery
Author :
Su, Hang ; Liao, Husheng
Author_Institution :
Coll. of Comput. Sci., Beijing Univ. of Technol., Beijing, China
Abstract :
In the partial evaluation for XQuery, the reconstruction for XML document segment is used to represent the result of the constant folding for the value of a node expression. But the representation of the result do lost some semantic information of the value, such as the relative position of a node in an XML document. Unfortunately, there are some special expressions that work out their values by using the semantic information in XQuery. A wrong residual program will be produced by the partial evaluator when reconstructs the values of the expressions which participate in the computing of those special expressions. And it will result in a low efficient partial evaluation if constant folding is arbitrarily prohibited. To avoid the mistake and achieve an effective partial evaluation for XQuery, a novel method, called reference-sensitivity analysis, is proposed in this thesis, which can be used to distinguish the node expression whose value can not be reconstructed for doing constant folding from others.
Keywords :
XML; partial evaluation (compilers); program diagnostics; query processing; XML document; XQuery; constant folding; node expression; partial evaluation; program specialization; reference-sensitivity analysis; semantic information; Books; Data mining; Data models; Databases; Educational institutions; Information analysis; Optimization methods; Reconstruction algorithms; Software engineering; XML; XQuery; constant folding; partial evaluation; program analysis;
Conference_Titel :
Software Engineering, 2009. WCSE '09. WRI World Congress on
Conference_Location :
Xiamen
Print_ISBN :
978-0-7695-3570-8
DOI :
10.1109/WCSE.2009.17