This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Email sent privately to MHK by A. Biao (abiao dot chen at gmail dot com): I found there's words to report error when namespace alias declaration conflicted in XSLT2.0 11.1.4. [ERR XTSE0810] It is a static error if there is more than one such declaration with the same literal namespace URI and the same import precedence and different values for the target namespace URI, ... I don't know whether it's a error when there're two xsl:namespace-alias with the same stylesheet-prefix and different result-prefix which targets to a same namespace URI. For example: <xsl:stylesheet version="2.0" xmlns:a="ns" xmlns:r1="out" xmlns:r2="out"> <xsl:namespace-alias *stylesheet-prefix* = *"a*" *result-prefix = "r1"/>* ** <xsl:namespace-alias *stylesheet-prefix* = *"a*" *result-prefix = "r2"/>* Should this be OK? If yes, what will be the output prefix, r1 or r2? Thanks, **-- A Biao
My proposed resolution of this would be that: (a) it's not an error (b) the choice of prefix in the result is implementation-dependent
At the XSLT WG meeting on 20 May 2010 the WG agreed to the following: (a) it's not an error - the "last" one is used.
This will be erratum E45