W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2006

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 01 Aug 2006 16:58:11 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1G7xZL-0005Jp-NK@wiggum.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:44 GMT