This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8875 - [XQuery 1.1] overwriteability of context item static type
Summary: [XQuery 1.1] overwriteability of context item static type
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Working drafts
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-03 20:45 UTC by Michael Dyck
Modified: 2010-02-17 00:54 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Dyck 2010-02-03 20:45:10 UTC
In C.1 Static Context Components,
in the row for 'Context item static type',
in the column labelled "Can be overwritten or augmented by a query?",
it says "Yes, via a context item declaration."

While that is true, it is incomplete: the context item static type is overwritten by every expression that sets the context item. (In the XQuery 1.0 spec, the corresponding cell said "not explicitly, but can be influenced by expressions".)

I propose that the wording be changed to:
    overwriteable explicitly via a context item declaration
    and implicitly by expressions
Comment 1 Jonathan Robie 2010-02-16 21:37:37 UTC
Today, the Working Group decided to fix this, wording at editor's discretion. I will use this:

"overwriteable via a context item declaration, and by expresssions that set the context item"
Comment 2 Michael Dyck 2010-02-17 00:54:49 UTC
Yup, that sounds okay.