This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27970 - [QT3TS] fn-nilled-48
Summary: [QT3TS] fn-nilled-48
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-05 16:08 UTC by Tim Mills
Modified: 2015-02-19 12:29 UTC (History)
2 users (show)

See Also:


Attachments

Description Tim Mills 2015-02-05 16:08:08 UTC
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.
Comment 1 Andrew Coleman 2015-02-10 13:53:57 UTC
The WG agrees this is wrong.  Further investigation will be done to determine which other tests might be affected.
Comment 2 Michael Kay 2015-02-19 12:29:35 UTC
Fixed by adding the namespace prefixes. I examined the other tests using environment nillable-Q and this appears to be the only one affected.