W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2010

[Bug 9291] wrong XQueryX tests - double UTF-8 encoding

From: <bugzilla@wiggum.w3.org>
Date: Wed, 24 Mar 2010 20:57:43 +0000
To: public-qt-comments@w3.org
Message-Id: <E1NuXe3-0006me-8V@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9291


Andrew Eisenberg <andrew.eisenberg@us.ibm.com> changed:

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




--- Comment #1 from Andrew Eisenberg <andrew.eisenberg@us.ibm.com>  2010-03-24 20:57:42 ---
Sorry, but I am not seeing the problem that you describe.

I looked at the first test case you listed, K-EncodeURIfunc-4. The XQuery
contains encode-for-URI("~bébé") ... I see the string literal as bytes 7E 62
C3 A9 62 C3 A9. The XQueryX that is generated is:

              <xqx:functionCallExpr>
                <xqx:functionName>encode-for-uri</xqx:functionName>
                <xqx:arguments>
                  <xqx:stringConstantExpr>
                    <xqx:value>~b&#233;b&#233;</xqx:value>
                  </xqx:stringConstantExpr>
                </xqx:arguments>
              </xqx:functionCallExpr>

The two-byte Unicode characters are being replaced by charRefs in the XQueryX
that is generated.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 24 March 2010 20:57:44 GMT

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