Project

Profile

Help

Bug #4155

closed

<xsl:expose component="mode"> has no effect on implicitly-declared modes

Added by Michael Kay about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT 3.0 packages
Sprint/Milestone:
-
Start date:
2019-03-06
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.9, trunk
Fix Committed on Branch:
9.9, trunk
Fixed in Maintenance Release:
Platforms:

Description

Although it's not 100% clear in the spec, on balance I think xsl:expose should be capable of setting the visibility of a mode that is defined "by reference" rather than through an explicit xsl:mode declaration.

It's actually having no effect, because PrincipalStylesheetModule.adjustExposedVisibility iterates over "topLevel", which only reaches explicitly-declared components.

Test case package-001j applies.

Please register to edit this issue

Also available in: Atom PDF