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

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 11 Jul 2006 15:28:29 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1G0KA1-0005wt-4m@wiggum.w3.org>

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:

"&#x0d;"

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:29 UTC