W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2012

[Bug 19282] New: [QT3TS] try-catch-fn-error-6

From: <bugzilla@jessica.w3.org>
Date: Fri, 05 Oct 2012 08:25:39 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-19282-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19282

           Summary: [QT3TS] try-catch-fn-error-6
           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: oneil@saxonica.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


This test assumes that "example" is an in-scope namespace in the assert-eq.

  <test-case name="try-catch-fn-error-6" covers="fn-error">
    <description>Try-catch must match fn:error semantics.</description>
    <created by="Ghislain Fourny" on="2012-10-03"/>
    <environment ref="err"/>

    <test>try { fn:error(fn:QName("http://www.example.com/",
"example:EXER3141"), "Description") } catch Q{http://www.example.com/}EXER3141
{ $err:code }</test>
    <result>
      <assert-eq>example:EXER3141</assert-eq>
    </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, 5 October 2012 08:25:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 5 October 2012 08:25:41 GMT