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

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





------- Comment #1 from andrew.eisenberg@us.ibm.com  2006-07-11 15:28 -------
To expand on this a bit further, this problem is also seen in the following
XQuery:

"
"

The "natural" XQueryX for this would be

<?xml version="1.0"?>
<xqx:module xmlns:xqx="http://www.w3.org/2005/XQueryX"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://www.w3.org/2005/XQueryX
                                http://www.w3.org/2005/XQueryX/xqueryx.xsd">
  <xqx:mainModule>
    <xqx:queryBody>
      <xqx:stringConstantExpr>
        <xqx:value>&#xd;</xqx:value>
      </xqx:stringConstantExpr>
    </xqx:queryBody>
  </xqx:mainModule>
</xqx:module>

The stylesheet transforms this XQueryX into the following:

""

Received on Tuesday, 11 July 2006 15:28:34 UTC