Skip Menu |

This queue is for tickets about the XML-XPath CPAN distribution.

Report information
The Basics
Id: 21956
Status: new
Priority: 0/
Queue: XML-XPath

People
Owner: Nobody in particular
Requestors: derhoermi [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: FilterExpr allows any number of predicates
Date: Sun, 08 Oct 2006 15:11:22 +0200
To: bug-xml-xpath [...] rt.cpan.org
From: Bjoern Hoehrmann <derhoermi [...] gmx.net>
Hi, Expr::push_predicate has die "Only 1 predicate allowed on FilterExpr in W3C XPath 1.0" if @{$self->{predicates}}; This appears untrue, the production is [20] FilterExpr ::= PrimaryExpr | FilterExpr Predicate So for e.g. $var[1][1] this is something like FilterExpr FilterExpr FilterExpr PrimaryExpr Predicate Predicate regards, -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/