Conclusions and Future Work
The result of the debugging process of a XPath expression is a set of alternative queries, each one associated to a chance degree. We have proposed JUMP, DELETE and SWAP operators that cover the main cases of programming errors when describing a path about an XML document. We have implemented and tested the approach. The approach has a fuzzy taste in the sense that XPath expressions are debugged by relaxing the path expression assigning a change degree to debugging points. The fuzzy taste is also illustrated when executing the annotated XPath expressions in a fuzzy based implementation of XPath.
In the near future, we plan to implement our approach in existent XPath/XQuery implementations. We are now working in the implementation of fuzzy XPath with XQuery. The idea is to define XQuery functions to represent fuzzy operators: DEEP, DOWN, JUMP, DELETE and SWAP, avg, etc, in order to execute fuzzy XPath with any XQuery interpreter.