This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Simplified production for FilterExpr in XPath spec?
- To: XSL listserve <xsl-list at mulberrytech dot com>
- Subject: Simplified production for FilterExpr in XPath spec?
- From: "Paul W. Abrahams" <abrahams at valinet dot com>
- Date: Mon, 17 Jul 2000 23:03:02 -0400
- Organization: (no org)
- Reply-To: xsl-list at mulberrytech dot com
The production in the XPath spec for FilterExpr is:
FilterExpr ::= PrimaryExpr | FilterExpr Predicate
It would seem that the following rewritten version would be
much more transparent:
FilterExpr ::= PrimaryExpr Predicate*
(A number of other productions, e.g., OrExpr, could be
similarly rewritten.)
Does anyone know why the production was written the way it
was?
Paul Abrahams
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list