This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The expected results for these tests seem bizarre. <test-case name="numeric-greater-than-101"> <description> test comparison of number to untypedAtomic including whitespace </description> <created by="Michael Kay" on="2016-08-17"/> <dependency type="spec" value="XQ10+"/> <test><![CDATA[ let $ex := <bla><n>10</n> <n>123</n> <n> 1234 </n> <n> 1234 </n> <n>12345</n> </bla> return $ex[n>1000] ]]></test> <result> <assert-deep-eq>(2345.6, 5678, 12345, 56789)</assert-deep-eq> </result> </test-case> <test-case name="numeric-greater-than-102"> <description> test comparison of number to untypedAtomic including whitespace </description> <created by="Michael Kay" on="2016-08-17"/> <dependency type="spec" value="XQ10+"/> <test><![CDATA[ let $ex := <bla><n>10</n> <n>123</n> <n> 1234 </n> <n> 2345.6 </n> <n> 1555 </n> <n> 12345 </n> </bla> return $ex//n[.>1000] ! xs:decimal(.) ]]></test> <result> <assert-deep-eq>(1234, 2345.6, 1555, 12345)</assert-deep-eq> </result> </test-case>
On second look, this is just for numeric-greater-than-101.
Now fixed. Sorry - not sure what went wrong here. I haven't been able to trace the original test before it got overwritten so I have re-invented it.
Confirmed fixed. Thanks.