OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] XPath validation against a schema rather that against an i

[ Lists Home | Date Index | Thread Index ]

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@propylon.com] 
Sent: Monday, January 13, 2003 11:48 PM
To: xml-dev@lists.xml.org
Subject: [xml-dev] 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>




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS