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


            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