ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Re: [xml-dev] Simple xpath software request
by Christian Nentwich other posts by this author
Feb 28 2002 11:12PM messages near this date
[xml-dev] Simple xpath software request | Re: [xml-dev] Simple xpath software request
>  I have been trying to find a related tool/function for some time (and
>  may well have missed it in my search) - an x-path validation tool.
>  Such a tool would be capable of validating a given x-path against a
>  schema.

This problem is undecidable. I've written a program that can determine
whether a path is a subpath of another path given a DTD, but it cannot deal
with arbitrary expressions.

For example, the path id('foo')/bar/baz cannot be checked since you cannot
be certain that the element with id 'foo' will be an element that has 'bar'
as a child.

In any case, my code is not in a presentable form at the moment, it's
ongoing research :)

Christian Nentwich



-----------------------------------------------------------------
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> 
Thread:
Kris Thompson
Christian Nentwich
Daniel Veillard
Mike Thanos
Michael Kay
Elliotte Rusty Harold
Michael Kay

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved