W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2014

[Bug 26422] New: [XSLT30] (editorial) error XTSE0630 only applies to packages

From: <bugzilla@jessica.w3.org>
Date: Wed, 23 Jul 2014 22:08:06 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-26422-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 26422
           Summary: [XSLT30] (editorial) error XTSE0630 only applies to
           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

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:47 UTC