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 17:25:18 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29667-523-NKXHUwta8J@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29667

--- Comment #4 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
> 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.
Maybe I misunderstand, but do you mean that there is now a hidden pkg:function1
and a public pkg:function1 that happens to be the same function?

But doesn't that clash with the name resolution? We try to find a component,
and we may find the hidden component by that name before we find the public
component. If we find the hidden component first, we have to raise an error.

Though I would argue that there are not two components here, but only one, that
is either hidden or public (Schrödinger's Cat anyone?).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 27 May 2016 17:25:21 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 May 2016 17:25:21 UTC