W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2015

[Bug 29097] New: try-012 should not expect a specific error description

From: <bugzilla@jessica.w3.org>
Date: Fri, 28 Aug 2015 20:37:16 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29097-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 29097
           Summary: try-012 should not expect a specific error description
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: josh.spiegel@oracle.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

<test-case name="try-012">
    <description>Use err:description local variable, implicitly
    <created by="O'Neil Delpratt" on="2012-03-02"/>
    <environment ref="err"/><test><![CDATA[
        declare function local:f($d as xs:integer) { 10 div $d };
        try { local:f(0) } catch * {$err:description}
        <assert-string-value>Integer division by zero</assert-string-value>

I don't think an error description is defined for err:FOAR0001 so this test
shouldn't assert description "Integer division by zero".  Also, I think it is
valid for $err:description to be empty.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 28 August 2015 20:37:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:55 UTC