- From: Oliver Becker <obecker@informatik.hu-berlin.de>
- Date: Wed, 10 Sep 2003 14:04:49 +0200 (MEST)
- To: public-qt-comments@w3.org, emerson@harvestman.net
> As you can plainly see from (http://www.w3.org/TR/xpath20/#doc-StepExpr) > the Xpath 2.0 specification does > Not allow anything other than axis/node-test specifiers within a > location step. A StepExpr could be a FilterStep which in turn could be a PrimaryExpr with empty Predicates etc ... I wrote: > The parse tree for that is a little bit lengthy, but basically you can > reduce a StepExpr -> PrimaryExpr -> ParenthesizedExpr -> ... > -> '(' OrExpr ')' -> ... (many steps using always the first non > terminal) ... > -> '(' UnionExpr ')' > -> ... -> '(' PathExpr '|' PathExpr ')' > There you are! Oliver /-------------------------------------------------------------------\ | ob|do Dipl.Inf. Oliver Becker | | --+-- E-Mail: obecker@informatik.hu-berlin.de | | op|qo WWW: http://www.informatik.hu-berlin.de/~obecker | \-------------------------------------------------------------------/
Received on Wednesday, 10 September 2003 08:04:56 UTC