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 28419 - [XT30] error-0945a function that should raise error is never called
Summary: [XT30] error-0945a function that should raise error is never called
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Last Call drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-07 04:29 UTC by Abel Braaksma
Modified: 2015-05-06 21:23 UTC (History)
0 users

See Also:


Attachments

Description Abel Braaksma 2015-04-07 04:29:34 UTC
The body of the test is:

 <xsl:template name="main">
    <out>
       <x y="f:f()"/>
    </out>
 </xsl:template>

but this doesn't call the function. I think that the intention of the test is to raise the error dynamically, though it could statically be detected, but if the function is never called, the error does not need to be raised.

Proposed fix: change the attribute value into an AVT.
Comment 1 Abel Braaksma 2015-04-07 04:36:23 UTC
Fixed as proposed.
Comment 2 Abel Braaksma 2015-05-06 21:23:50 UTC
Was resolved > 30 days ago, closing.