[Bug 29655] [XP31] Ambiguous parse for /[x]

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29655

Josh Spiegel <josh.spiegel@oracle.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |josh.spiegel@oracle.com

--- Comment #1 from Josh Spiegel <josh.spiegel@oracle.com> ---
I don't see how /[x] is valid in 3.0

PathExpr
=>
"/" RelativePathExpr
=>
"/" StepExpr
=>
"/" PostFixExpr
=>
"/" PrimaryExpr Predicate

It seems like [x] would need to be a PrimaryExpr but I don't think it is.

The 3.0 w3c applets don't parse this and neither does my parser.  If I am
missing something, could you show me the parse tree for this expression in 3.0?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 20 May 2016 22:37:35 UTC