[Bug 1261] New: [XQuery] Meta type for Sequence Type

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1261

           Summary: [XQuery] Meta type for Sequence Type
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: All
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: henryluo@vibrasoft.net
         QAContact: public-qt-comments@w3.org


I can see that XQuery has been carefully defined so that Sequence Type 
Definition (under spec 2.5.3) is only part of the syntax construct rather than 
a type by itself.

But has WG considered treating Sequence Type Definition as true data type which 
can be assigned to variables? In that way, complicated Sequence Type Definition 
can be used just by refering the variable rather than having to literally type 
it every time. And the variable can be passed to functions and the language 
become more flexible.

I know that'll lead a lot of other questions, like how to compare meta type, 
how to construct dynamic meta type, etc. 
Is it because of those complicated issues that the WG is avoiding the issue in 
this version?

Received on Wednesday, 20 April 2005 08:22:51 UTC