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] Simple xpath software request

[ Lists Home | Date Index | Thread Index ]


> 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






 

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

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