W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2017

[Bug 30179] New: Ambiguity concerning references to the context item from a "global variable in a library package"

From: <bugzilla@jessica.w3.org>
Date: Mon, 11 Sep 2017 09:42:02 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-30179-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=30179

            Bug ID: 30179
           Summary: Ambiguity concerning references to the context item
                    from a "global variable in a library package"
           Product: XPath / XQuery / XSLT
           Version: Proposed Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Section 5.3.3.1 says:

The context item for evaluating global variables in the top-level package is
set to the global context item supplied when the transformation is invoked (see
2.3 Initiating a Transformation). In library packages, the context item for
evaluating global variables is absent.

Similarly 2.3.2 says: This item acts as the context item when evaluating the
select expression or sequence constructor of a global variable declaration
within the top-level package, as described in 5.3.3.1 Maintaining Position: the
Focus.

In both cases we don't make it clear whether we are talking about the declaring
package of the global variable component or its containing package. I think the
intent is that the context item is available when evaluating a global variable
only if its DECLARING package is the top-level package.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 11 September 2017 09:42:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 11 September 2017 09:42:05 UTC