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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29667

--- 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