[Bug 2463] [XDM] String value of a document node

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


Norman.Walsh@Sun.COM changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Additional Comments From Norman.Walsh@Sun.COM  2006-01-20 17:32 -------
I think Mike is right. I propose to add the following constraint to 6.1.1:

4. Regardless of how a document node is constructed, its string value must
always be the concatenation of the string-values of all its Text Node
descendants in document order or, if the document has no such descendants, the
zero-length string.

It's less clear what we should do in the element case. I'm inclined to something
less crisp. In 6.2.1:

14. The string-value of an element node must be consistent with its typed value.

That at least prevents some random construction process from creating an element
with a typed value of 3.0 and a string-value of "New York State".

Received on Friday, 20 January 2006 17:33:05 UTC