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:37:57 +0000
To: public-qt-comments@w3.org
Message-Id: <E1FZARB-0004Dn-0a@wiggum.w3.org>


------- Comment #2 from klaus.bosse@web.de  2006-04-27 17:37 -------
(In reply to comment #1)
> 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

First to the second part of your comment: fully agreed

Now to the first:

This would indeed avoid confusion and it would be okay for me, but than not
only the case of element-only content but also of mixed content is avoided. Is
this intended?
Received on Thursday, 27 April 2006 17:38:13 UTC

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