- From: <bugzilla@jessica.w3.org>
- Date: Thu, 26 May 2016 16:18:04 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29667
Bug ID: 29667
Summary: [XSLT30] XTSE3050 with hidden components and
homonymous name conflict is ambiguous
Product: XPath / XQuery / XSLT
Version: Candidate Recommendation
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: XSLT 3.0
Assignee: mike@saxonica.com
Reporter: abel.braaksma@xs4all.nl
QA Contact: public-qt-comments@w3.org
Target Milestone: ---
The error description is this:
[ERR XTSE3050] It is a static error if the xsl:use-package elements in a
package manifest cause two or more homonymous components to be accepted with a
visibility other than hidden.
However, you can define a package manifest as follows:
<xsl:use-package name="urn:use-me" package-version="*" >
<xsl:accept component="function" names="pkg:function1" visibility="hidden"
/>
</xsl:use-package>
<xsl:use-package name="urn:use-me" package-version="*" >
<xsl:accept component="function" names="pkg:function1" visibility="public"
/>
</xsl:use-package>
This error description indicates this is allowed, but the rest of the section
in "3.5.3.2 Accepting Components", notably the numbered list, suggests that
this should not be allowed.
Note: changing "hidden" to something else is already disallowed (if I
understand the text correctly).
The question arises that, *if* this is allowed, whether the component is
accepted or denied (consider also the reverse, in declaration order).
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 26 May 2016 16:18:07 UTC