The following comments are forwarded from my colleague Eric Bratton at
Software AG:
XSLT 2.0 draft feedback:
Get rid of the example stylesheet and output in section
"8.1.3 Namespace Aliasing". The input is missing, the output is wrong
(missing namespace declarations in a section dealing with namespaces!),
it is too complex, XSLT-FO hasn't been introduced at this level, and
it serves no identified purpose. A simple stylesheet which produces
another minimal xsl stylesheet would be a far better example.
Mention in "8.1.3 Namespace Aliasing" which prefix should be used in
the output document. In my example stylesheet above, the prefix used
in the output document was "out". What is wrong with either using
"xsl" (stylesheet-prefix) or creating your own prefix?
One answer is, of course, QNames hidden in textnodes that end up in
the output. I think the prefix choice and rationale should be
explicitly stated, at least in a note.
Also in "8.1.3 Namespace Aliasing", mention that aliasing supercedes
[xsl:]exclude-result-prefixes and [xsl:]extension-element-prefixes
processing. Excluding a namespace before aliasing it yields nothing.