- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 17 Sep 2007 14:13:58 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5054 Summary: Unicode character in K2-StringLT-1 Product: XML Query Test Suite Version: unspecified Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: XML Query Test Suite AssignedTo: frans.englich@telia.com ReportedBy: andrew.eisenberg@us.ibm.com QAContact: public-qt-comments@w3.org Test case K2-StringLT-1 contains the comparison of two large codepoints. I generate the following XQueryX for this test case: <?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:ltOp> <xqx:firstOperand> <xqx:stringConstantExpr> <xqx:value></xqx:value> </xqx:stringConstantExpr> </xqx:firstOperand> <xqx:secondOperand> <xqx:stringConstantExpr> <xqx:value>�</xqx:value> </xqx:stringConstantExpr> </xqx:secondOperand> </xqx:ltOp> </xqx:queryBody> </xqx:mainModule> </xqx:module> When I attempt to validate this XQueryX, I see this error: Character reference "�" is an invalid XML character. I'm weak on the details of Unicode. I believe that character � is �. I see the following in http://www.unicode.org/Public/UNIDATA/UnicodeData.txt: D800;<Non Private Use High Surrogate, First>;Cs;0;L;;;;;N;;;;; DB7F;<Non Private Use High Surrogate, Last>;Cs;0;L;;;;;N;;;;; Perhaps you could change � to some other character. I've experimented a bit, and 휀 validates just fine.
Received on Monday, 17 September 2007 14:14:23 UTC