This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Unless I'm mistaken, the query for test <test-case name="fn-nilled-48"> <description> If node is nilled, it does not match element(E, T)</description> <created by="Michael Kay" on="2012-10-17"/> <environment ref="nillable-Q"/> <dependency type="spec" value="XQ10+"/> <dependency type="feature" value="schemaImport"/> <test> import schema namespace ids="http://www.w3.org/XQueryTest/nillable"; /root/branch/date instance of element(*, ids:date) </test> <result> <assert-false/> </result> </test-case> isn't testing the intent of the test. /root will match the empty sequence. It should be /ids:root etc. as in fn-nilled-41. I suspect other tests in this set have a similar problem.
The WG agrees this is wrong. Further investigation will be done to determine which other tests might be affected.
Fixed by adding the namespace prefixes. I examined the other tests using environment nillable-Q and this appears to be the only one affected.