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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@jessica.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: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

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

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26422

Michael Kay <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Michael Kay <[hidden email]> ---
Resolved to update the definition of "package" to make it clear that the term
includes an implicit package constructed when there is no explicit xsl:package
element.

--
You are receiving this mail because:
You are the QA Contact for the bug.

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@jessica.w3.org
In reply to this post by Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26422

Michael Kay <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #2 from Michael Kay <[hidden email]> ---
Changes have been applied.

--
You are receiving this mail because:
You are the QA Contact for the bug.