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

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





------- 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