[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Validating XPath queries

From: Andrew Welch <andrew.j.welch@gmail.com>
Date: Fri, 15 May 2009 10:04:40 +0100
Message-ID: <74a894af0905150204i6d8c184k4b95e641a1a2a579@mail.gmail.com>
To: Paul Steckler <Paul.Steckler@nicta.com.au>
Cc: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Re: Validating XPath queries
>  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/
Received on Friday, 15 May 2009 09:05:21 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.