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

[Bug 19257] [XQ3.0] Context item must be a singleton

From: <bugzilla@jessica.w3.org>
Date: Sun, 07 Oct 2012 19:00:54 +0000
Message-Id: <E1TKw5u-0002bL-JC@jessica.w3.org>
To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19257

Tim Mills <tim@cbcl.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tim@cbcl.co.uk

--- Comment #2 from Tim Mills <tim@cbcl.co.uk> 2012-10-07 19:00:54 UTC ---
It must surely be XPTY0004 since the context item type can only be specified as
an item (not sequence) type by virtue of the grammar

[31]       ContextItemDecl       ::=       "declare" "context" "item" ("as"
ItemType)? ((":=" VarValue) | ("external" (":=" VarDefaultValue)?))

and is effectively

declare context item as item() external;

when not explicitly declared.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 7 October 2012 19:00:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 7 October 2012 19:00:56 GMT