The first xsl:namespace-alias example in section 11.1.4 does not produce the output shown.
It only produces the first template.
The issue is in this template:
<xsl:template match="elements">
<axsl:template match="/">
<axsl:comment select="system-property('xsl:version')"/>
<axsl:apply-templates/>
</axsl:template>
</xsl:template>
The instruction
<axsl:apply-templates/>
should be
<xsl:apply-templates/>
so that the block template is invoked and creates the missing templates.
This is also the case in the current version of the XSLT4.0 spec.
The first xsl:namespace-alias example in section 11.1.4 does not produce the output shown.
It only produces the first template.
The issue is in this template:
The instruction
<axsl:apply-templates/>should be
<xsl:apply-templates/>so that the block template is invoked and creates the missing templates.
This is also the case in the current version of the XSLT4.0 spec.