[Home] [By Thread] [By Date] [Recent Entries]


There is a project that is working on an XForms validator; since XForms uses
XPath and XML Schema, and since it is be desirable to validate a form
independent of its instance data, it's possible they may have some overlap
in interest on this question.


-----Original Message-----
From: Sean McGrath [mailto:sean.mcgrath@p...] 
Sent: Monday, January 13, 2003 11:48 PM
To: xml-dev@l...
Subject:  XPath validation against a schema rather that against an
instance


Heres a question I was asked today which struck me:

>Is there any way I can validate a XPATH against a XML Schema (and not
>against the XML document)

I don't know of anything like this. I can see why it would be a useful
static
sanity check of XPath usage in some contexts. I.e. "warning: //foo can never
match in schema XXX because there is no 'foo'".

Anybody got any pointers?
Sean


http://seanmcgrath.blogspot.com



-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member