W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2014

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 07 Jan 2014 18:36:27 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-24200-523-vap7jdeIzT@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:45 UTC