W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2007

[Bug 4392] Typing issues with //

From: <bugzilla@wiggum.w3.org>
Date: Tue, 20 Mar 2007 17:01:05 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1HThhp-0007ZY-Rg@wiggum.w3.org>

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





------- Comment #1 from mike@saxonica.com  2007-03-20 17:01 -------
I can't comment very intelligently on static typing issues, but just one
observation: the reason for the "treat as document-node()" in the expansion of
"/" is to ensure that "/" is an error when the context item is a node in a tree
whose root is not a document node. In such a tree, root() will select an
element node (say), but "/" throws an error.

Michael Kay
Received on Tuesday, 20 March 2007 17:01:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:32 UTC