This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29936 - [QT3TS] fn-load-xquery-module-012
Summary: [QT3TS] fn-load-xquery-module-012
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-12 11:59 UTC by Tim Mills
Modified: 2016-10-21 09:43 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2016-10-12 11:59:20 UTC
This query assumes that  $dem:cause-dynamic-error is evaluated.

We permit the value of a map key-value pair to be evaluated lazily.

I suggest modifying the query to access the value of $dem:cause-dynamic-erro returned via the "variables" member of the map.

  <test-case name="fn-load-xquery-module-012">
    <description>Checks that a dynamic error caused when fn:load-xquery-module processes a module is returned as is.</description>
    <created by="Adam Retter" on="2015-02-01"/>
    <modified by="Debbie Lockett" on="2015-05-11" change="Added module element"/>
    <modified by="Michael Kay" on="2015-07-13" change="Mixing timezones is no longer an error; added new dynamic error"/>
    <module uri="http://www.w3.org/fots/fn/load-xquery-module/dynamic-error/module" file="load-xquery-module/dynamic-error-module.xqm"/>
    <test>fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/dynamic-error/module")</test>
    <result>
      <error code="FOAR0001"/>
    </result>
  </test-case>
Comment 1 Andrew Coleman 2016-10-21 09:18:10 UTC
Resolved as proposed. See https://lists.w3.org/Archives/Public/public-xsl-query/2016Oct/0023.html