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 17038 - [QT3TS] CastAs674a
Summary: [QT3TS] CastAs674a
Status: CLOSED 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: Benjamin Nguyen
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-11 11:47 UTC by Tim Mills
Modified: 2012-05-18 13:28 UTC (History)
2 users (show)

See Also:


Attachments

Description Tim Mills 2012-05-11 11:47:25 UTC
As a result of the change agreed in Bug 16089, this test should no longer expect XPTY0117.

 
   <test-case name="CastAs674a">
      <description> Try to cast an element to xs:QName.
        Fails in 1.0 because only a string literal can be cast to xs:QName
        Fails in 3.0 because atomization of the argument is not allowed - see bug 11964</description>
      <created by="Michael Kay" on="2011-02-16"/>
      <modified by="Michael Kay" on="2011-02-06" change="bug 15814 - wrong error code for XQ30"/>
      <dependency type="spec" value="XQ30+"/>
      <test><![CDATA[let $var := <e>xml:space</e> return $var cast as xs:QName]]></test>
      <result>
<!-- This test should no longer expect XPTY0117
         <error code="XPTY0117"/>
-->
         <assert-string-value>xml:space</assert-string-value>
      </result>
   </test-case>
Comment 1 Michael Kay 2012-05-17 21:26:26 UTC
Fixed; the test now expects success.
Comment 2 Tim Mills 2012-05-18 13:28:31 UTC
Confirmed fixed.