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

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


Norman.Walsh@Sun.COM changed:

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




------- Comment #8 from Norman.Walsh@Sun.COM  2006-08-25 16:02 -------
Proposed resolution:

Having reviewed the bug again and attempted to reconstruct mentally
the discussions we had back in May, my best effort to resolve this
issue is to add the following to the end of 3.3.1.3 in XDM:

First, a new bullet at the end of the existing bulleted list:

  * Where an element with a complex type and element-only content
    occurs, it is an error to attempt to access the typed-value
    of the node.

And the following paragraph below the list:

  If an implementation stores only the typed-value of a node, it must
  be prepared to construct string values from not only the node, but
  in some cases also the descendants of that node. For example, an
  element with a complex type and element-only content has no
  typed-value but does have a string-value that is the concatenation
  of the string-values of all its Text Node descendants in document
  order.

Received on Friday, 25 August 2006 16:02:42 UTC