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] Validate an XPath with regex

[ Lists Home | Date Index | Thread Index ]

> Shouldn't it be possible to validate the syntax of an XPath
> string using regular expressions.

I'm not a grammar expert, but I do know that the class of grammars that can
be parsed using regular expressions is smaller than the class that can be
parsed using "BNF". XPath falls into the latter category, not the former.

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com





 

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

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