Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Validating XPath queries

From: Andrew Welch <andrew.j.welch@-----.--->
To: Paul Steckler <Paul.Steckler@-----.---.-->
Date: 5/15/2009 9:07:00 AM
>  Does anyone know of a tool that validates XPath queries against XML
> schemas?  For a given schema, a query is valid if there exists a document
> valid in the schema for which the query returns at least one result.

If you mean you would like a tool to tell you "/foo/bar" will fail
because in the xsd there is no <bar> child of <foo>, then Saxon does
that (www.saxonica.com) for "schema aware" xslt (and possibly xquery),
not sure about straight xpath though.

>   I've seen mention on this list of XPath somehow incorporated into
> XML Scheme 1.1.  Does that capability obviate the value of such a
> tool?

No that's something else, but both are needed!


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/



transparent
Print
Mail
Like It
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