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 30091 - [xslt30] Inaccurate advice in Note concerning imported modes
Summary: [xslt30] Inaccurate advice in Note concerning imported modes
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Proposed Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-16 08:50 UTC by Michael Kay
Modified: 2017-06-01 20:47 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2017-04-16 08:50:56 UTC
In a Note in 3.5.4, we advise:

If existing XSLT code has been written to use template rules in the unnamed mode, a convenient way to incorporate this code into a library package is to add a stub module that defines a new named public or final mode, in which there is a single template rule whose content is the single instruction <xsl:apply-templates/>.

The recommended instruction should be <xsl:apply-templates select="."/>
Comment 1 Michael Kay 2017-05-04 17:23:48 UTC
The WG agreed the change and it has been applied to the spec.