W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2002

Namespace-Alias + XSLT2 feedback

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Mon, 18 Feb 2002 21:52:42 +0100
Message-ID: <DFF2AC9E3583D511A21F0008C7E6210602679C4C@daemsg02.software-ag.de>
To: "'xsl-editors@w3.org'" <xsl-editors@w3.org>
Cc: "Bratton, Eric" <Eric.Bratton@SoftwareAG-USA.com>
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.
Received on Monday, 18 February 2002 15:52:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT