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

[Bug 3161] [XPath] string value not always derivable from typed value

From: <bugzilla@wiggum.w3.org>
Date: Thu, 27 Apr 2006 17:00:51 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1FZ9rH-0003Cr-J5@wiggum.w3.org>

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





------- Comment #1 from mike@saxonica.com  2006-04-27 17:00 -------
A better way to improve this paragraph might be simply to precede it with "In
the case of a node with no children, ...". This seems to deal with the problem
that the choice described in this paragraph isn't available for all nodes.

I think the other change "so the string value may differ slightly" is
unnecessary and undesirable. We already say that the string value must be a
valid lexical representation of the typed value, and that's a much more precise
statement than saying it may vary "slightly". It's a matter of opinion whether
"1" differs only slightly from "true", but it's a matter of fact that they are
both valid lexical representations of the boolean value TRUE.

Michael Kay
personal response
Received on Thursday, 27 April 2006 17:01:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:11 UTC