--
Because "treat as" is an assertion designed so the query author can tell a 
pessimistic static type checker to get out of the way and mind its own 
business, it is needed only in systems that do pessimistic static type 
checking, which are very few and far between. (Galax and SQL Server are the 
only ones that come to mind).

Michael Kay
Saxonica
----

Do you know of any cases where "treat as" is necessary in XQuery ?
Or is it the equivalent of a static assert that otherwise would cause a dynamic 
error ?

----------------------------------------
David A. Lee
[email protected]<mailto:[email protected]>
http://www.xmlsh.org


_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to