Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XPath filters equivalence

From: Peter Flynn <peter.nosp@-.--------.-->
To: NULL
Date: 10/7/2007 1:37:00 PM

Altu wrote:
> I just had a look at XPathTester. Looks like it is not capable of
> finding out if two different queries are equivalent or not, no matter
> what XML file they operate on.

I'm a little surprised that you would expect it to.

It's a tool for identifying the node referenced by a given XPath 
statement (that is, what node or nodes, or none, a given XPath statement 
will reference, for a given document instance).

To compare two XPath statements, you'd need some kind of comparative 
parser or tracer, which would identify the nodes referenced by each 
segment of the statement until the end of the statement was reached, or 
failure occurred. I'm not aware of any such tool, although it may well 
exist.

///Peter


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent