W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2006

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

From: <bugzilla@wiggum.w3.org>
Date: Fri, 25 Aug 2006 16:02:32 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GGe8e-00061x-0s@wiggum.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:44 GMT