Strings such as
"/node/..[@attr='val']" or "/node/.[@attr='val']"
are accepted and interpreted as
"/node/parent::node()[@attr='val']" and "/node/self::node()[@attr='val']"
According to the recommendation (http://www.w3.org/TR/xpath/#node-tests) the
first 2 strings should not be accepted.
Grammars related to this issue:
AbbreviatedStep ::= '.'
| '..'
Step ::= AxisSpecifier NodeTest Predicate*
| AbbreviatedStep
Original issue reported on code.google.com by digenish...@gmail.com on 29 Nov 2013 at 3:37
Original issue reported on code.google.com by
digenish...@gmail.com
on 29 Nov 2013 at 3:37