[Bug 17038] New: [QT3] CastAs674a

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17038

           Summary: [QT3] CastAs674a
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
        AssignedTo: benjie.nguyen@gmail.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


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>

-- 
Configure bugmail: https://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 Friday, 11 May 2012 11:47:31 UTC