This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
(Encountered this while trying to untangle the rules on static variables and parameters) The current wording of this error is: "[ERR XTSE0630] It is a static error if a package contains more than one non-hidden binding of a global variable with the same name and same import precedence, unless it also contains another binding with the same name and higher import precedence." I think it is the effect of the resolution to bug 24763 that it now refers to packages and not stylesheets. However, package itself is defined in terms of xsl:package, so it seems, or at least I read it, as if an xsl:stylesheet without an xsl:package parent does not apply. Perhaps we should update the definition of "package", or we should change the text to "if a package or stylesheet...". Note also, for instance, that the sentence prior to this error talks about a stylesheet, not a package, while I think it applies to both package and stylesheets, there may be more such sentences: "If a stylesheet contains more than one binding for a global variable of a particular name, then the binding with the highest import precedence is used."
Resolved to update the definition of "package" to make it clear that the term includes an implicit package constructed when there is no explicit xsl:package element.
Changes have been applied.