- From: <bugzilla@jessica.w3.org>
- Date: Fri, 28 Aug 2015 20:37:16 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29097
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
declared</description>
<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}
]]></test>
<result>
<any-of>
<assert-string-value>Integer division by zero</assert-string-value>
<assert-type>xs:string</assert-type>
</any-of>
</result>
</test-case>
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