W3C home > Mailing lists > Public > www-ql@w3.org > April to June 2004

RE: top-level location-path context dependencies

From: Michael Rys <mrys@microsoft.com>
Date: Sun, 18 Apr 2004 11:25:00 -0700
Message-ID: <EB0A327048144442AFB15FCE18DC96C702A7D608@RED-MSG-31.redmond.corp.microsoft.com>
To: "Jason Hunter" <jhunter@acm.org>
Cc: "Howard Katz" <howardk@fatdog.com>, <www-ql@w3.org>

The problem with input() is that its type is basically item* which makes
it a function that is hard to interoperate over or give more specific
static type information. With a variable, you will be able to know more
since you have it added to the static context and the dynamic context...


> -----Original Message-----
> From: Jason Hunter [mailto:jhunter@acm.org]
> Sent: Sunday, April 18, 2004 11:20 AM
> To: Michael Rys
> Cc: Howard Katz; www-ql@w3.org
> Subject: Re: top-level location-path context dependencies
> Michael Rys wrote:
> > In XQuery, the solution is very simple if you make it explicit:
> >
> > Bind a variable to the sequence.
> The other solution is to bring back input() from the May 2003 draft.
> That's actually more elegant.
> -jh-
Received on Sunday, 18 April 2004 14:25:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:19 GMT