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

  • To: xml-dev@l...
  • Subject: XPath validation against a schema rather that against an instance
  • From: Sean McGrath <sean.mcgrath@p...>
  • Date: Tue, 14 Jan 2003 07:47:36 +0000

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



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