- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 20 Feb 2007 18:55:26 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4273 ------- Comment #3 from mrys@microsoft.com 2007-02-20 18:55 ------- Changing fn:data() to return xs:anyAtomicType* in this case is not a viable solution, since it would violate the core of the design of XQuery to work on untyped data. Your example is an unfortunate consequence of the assert (as xs:integer) not promoting untyped values as the other type assertions (function parameters) do. I would be strongly opposed to change our type inference rules to make this edge case work though. People should use a treat as if they run into this situation.
Received on Tuesday, 20 February 2007 18:55:33 UTC