[Bug 3380] [XPath] //45 returns what?

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3380





------- Comment #3 from jim.melton@acm.org  2006-08-01 16:58 -------
I know that the behavior of any specific implementation does not resolve the
question of what the spec says, but...

I just ran this query using the XPath 2.0 feature of Stylus Studio 6 Enterprise
Edition Release 3, on a rather large complex document.  The result given by
that implementation is 1 hit and a returned value of "45" (without the quotes,
of course). 

Using the unabbreviated step syntax (/descendant-or-self::node()/45), the
result is exactly the same: 1 hit, value "45".

Is this a helpful data point?

Received on Tuesday, 1 August 2006 16:58:34 UTC