W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2016

[Bug 29667] [XSLT30] XTSE3050 with hidden components and homonymous name conflict is ambiguous

From: <bugzilla@jessica.w3.org>
Date: Fri, 27 May 2016 16:44:13 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29667-523-ixPLm6sMl3@http.www.w3.org/Bugs/Public/>

--- Comment #3 from Michael Kay <mike@saxonica.com> ---
Perhaps we don't make it clear enough, but I think that "using" the same
package twice should behave exactly like "using" two different packages that
have identical content.

Although this doesn't matter too much for this trivial case, it becomes very
important for "diamond" structures where the same package is imported
indirectly by two different routes.

The using package gets the union of the sets of components from all the
xsl:use-package declarations, and there's an error if this union contains
non-hidden name-clashes. In this case the union contains no clash: the using
package has one public component named pkg:function1 from the first
use-package, and one hidden component named pkg:function1 from the second
use-package. Declaration order is not relevant.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 27 May 2016 16:44:16 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 May 2016 16:44:17 UTC