- From: <bugzilla@jessica.w3.org>
- Date: Wed, 23 Jul 2014 22:08:06 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26422
            Bug ID: 26422
           Summary: [XSLT30] (editorial) error XTSE0630 only applies to
                    packages
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: minor
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org
(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."
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 23 July 2014 22:08:07 UTC