W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2015

[Bug 29246] New: [XQ31] context item declarations

From: <bugzilla@jessica.w3.org>
Date: Tue, 27 Oct 2015 15:46:08 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29246-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29246

            Bug ID: 29246
           Summary: [XQ31] context item declarations
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3.1
          Assignee: jonathan.robie@gmail.com
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Suppose a library module has a context item declaration.  Since

"In a library module, a context item declaration must be external, and
specifies only the static type. "

the context item effectively declared as external.

Suppose that the main module imports this library and has its own context item
declaration

declare context item := 1;

I presume that the context item cannot be set from the external environment,
but I'm not sure that the specification makes this explicit.

Clearly, the initial context item must be the same in all the modules.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 27 October 2015 15:46:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 27 October 2015 15:46:11 UTC