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


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