Re: [xml-dev] Validate an XPath with regex

From
David Carlisle <>
To
Date
2002-04-08T08:34:03Z
ID
<>
Thread
Re: [xml-dev] Validate an XPath with regex
> Shouldn't it be possible to validate the syntax of an XPath string using 
> regular expressions.

No. You at least need to be able to match () pairs, this requires
counting, so can't be done with a regular expression.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.