[Bug 3446] [XQueryX] constructing attribute values with whitespace characters

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


davidc@nag.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #7 from davidc@nag.co.uk  2006-07-30 20:31 -------
(> The escaping of '&' to '&' has been removed from the stylesheet,

> because there are no
> places in an XQuery or in an XQueryX document where a "naked" ampersand can
> occur, so there is no reason to "preserve" them. 

The stylesheet needs to quote & otherwise an XqueryX string of
<xqx:value>AT&amp;T</xsx:value>
would be translated to the XQuery syntax error
"AT&T"

I believe the correct fix, as mentioned in comment #2 is to quote #9,10,13 as
well as &.

Received on Sunday, 30 July 2006 20:31:59 UTC