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

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 UTC