[Bug 5871] CVS: wrong corresponding XQueryX tests

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





--- Comment #23 from Tim Mills <tim@cbcl.co.uk>  2010-03-15 10:31:29 ---
Sorry for the delay in responding to this.

The original query K2-DirectConOther-50.xq I see in CVS is:

string(<e><![CDATA[
]]></e>) eq "&#xA;"

0000600 6e69 2867 653c 3c3e 5b21 4443 5441 5b41          ing(<e><![CDATA[
0000620 0a0d 5d5d 3c3e 652f 293e 6520 2071 2622        \r\n]]></e>) eq "&

which contains only a single \r\n, equivalent to &xA;, not the two you show in
Comment #22.

In K2-DirectConOther-50.xqx I get from CVS

0001420 3e65 213c 435b 4144 4154 0d5b 0d0a 5d0a          e><![CDATA[\r\n\r\n]
0001440 3e5d 2f3c 7178 3a78 6176 756c 3e65 0a0d          ]></xqx:value>\r\n

So the left hand string is \r\n\r\n which is equivalent to &xA;&xA;, but is
being compared against a single &xA;.

0002260 2020 783c 7871 763a 6c61 6575 263e 7823            <xqx:value>&#x
0002300 3b41 2f3c 7178 3a78 6176 756c 3e65 0a0d          A;</xqx:value>\r\n


-- 
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 Monday, 15 March 2010 10:31:33 UTC