RE: [XQuery] MS-XQ-LC1-075

> 
> Section 3.3.1 Constructing Sequences	
> Technical	
> 
> We should not allow heterogeneous sequences of nodes and 
> atomic values. This adds lots of complexity and inefficiency 
> with very little user value.
>

I think there is user value. Consider for example the expression

@price - (@discount, 0)[1]

I think it would be a shame if this were disallowed. It could also cause
one of those dynamic errors that only emerges when you have written a
large number of test cases, or three weeks into live running if you are
careless with your testing.

Michael Kay

Received on Monday, 16 February 2004 06:41:16 UTC