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 30137 - [xslt30ts] Test case accept-001 has an error
Summary: [xslt30ts] Test case accept-001 has an error
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Proposed 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
Depends on:
Reported: 2017-07-07 23:19 UTC by Michael Kay
Modified: 2017-07-08 00:46 UTC (History)
0 users

See Also:


Description Michael Kay 2017-07-07 23:19:52 UTC
Test case accept-001:

The using package has both

xsl:template name="main"


xsl:accept component="template" names="*" visibility="public"

which accepts a template named "main" from the used package. This should result in error XTSE3050.

Similarly accept-002, though in this case the xsl:accept has visibility="private", this is still not allowed.

Both should be changed to add an accept for template main with visibility="hidden".
Comment 1 Michael Kay 2017-07-07 23:26:06 UTC
No, this is wrong. Although the used stylesheet has

<xsl:expose component="template" names="*" visibility="public"/>

this wildcard match has no effect on a component declared as private.
Comment 2 Michael Kay 2017-07-08 00:46:49 UTC
Closing as invalid.