[Bug 24200] '"as" SequenceType' vs 'TypeDeclaration' in XPath/XQuery 3.0?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24200

Michael Dyck <jmdyck@ibiblio.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdyck@ibiblio.org

--- Comment #3 from Michael Dyck <jmdyck@ibiblio.org> ---
It looks like we use 'TypeDeclaration' when specifying the type of a variable
or parameter, and 'as SequenceType' when specifying the return type of a
function or function-type. I think it would look somewhat odd (possibly
confusing) to replace 'as SequenceType' with 'TypeDeclaration' in the latter
productions.

So, to answer the initial question, I suspect it's not an omission (or
oversight) that 'TypeDeclaration' isn't used everywhere it could be. And I'm
inclined to think it doesn't need "fixing" in 3.1.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 7 January 2014 18:36:32 UTC