RE: [XQuery] Static type of an external variable

> 
> I think I disagree with the text as written.

I was only trying to fix an obvious error...
> 
> We strongly care for the ability to be able to set the types of 
> external variables
> in the environment at compile time. 

I think that if you want to constrain the type of the supplied
parameter, the type declaration should go in the query. It seems odd to
me if you declare the existence of the parameter within the query, but
don't declare it's type.

While we're discussing global parameters, one XSLT feature which I
really miss in XQuery is the ability to specify a default value for the
parameter.

Michael Kay

Received on Thursday, 15 January 2004 07:50:04 UTC