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 30221 - [xslt30ts] error-0045b
Summary: [xslt30ts] error-0045b
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Recommendation
Hardware: PC All
: 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: 2018-01-31 22:57 UTC by Michael Kay
Modified: 2019-02-25 13:50 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2018-01-31 22:57:03 UTC
Test case error-0045b is expected to raise error XTDE0045, but I cannot see any error here.

The xsl:stylesheet element specifies default-mode="does-not-exist" which somehow suggests that the supposed error is that default-mode names a mode that has no declaration. But that's not an error unless declared-modes="yes".

The actual error code in question, XTDE0045, does not seem applicable. The transformation is invoked in the default mode, namely the mode named "does-not-exist", and this is an eligible mode under rule 3 "M is named in the default-mode attribute of the (explicit or implicit) xsl:package element of P."
Comment 1 Michael Kay 2018-05-22 21:28:05 UTC
I have commented out this test case.
Comment 2 Abel Braaksma 2019-02-25 13:48:11 UTC
I have rewritten the test to catch XTSE3085 instead of XTDE0045 with a note leading to this bug report. To force this to happen, I changed the root element to xsl:package.
Comment 3 Abel Braaksma 2019-02-25 13:50:06 UTC
Changes have been committed to Mercurial, I'll close this one off. Feel free to reopen if there's still an issue with this test.