[Bug 3823] Static typing of K-StringToCodepointFunc-8

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3823





------- Comment #3 from mike@saxonica.com  2006-10-13 14:05 -------
>It avoids the problem, but it does highlight that there is something deeply worrying about the current definition of XQuery if static typing is enabled, that it is so much more convenient to compare two XQuery values for equality
-outside- of XQuery, rather than compare them using any expression within the
defined XQuery language.

Well, that's not quite true. You could compare them using "=". After all, "eq"
was invented largely in order to allow the system to throw static type errors,
so people who use it get what they deserve.

I do agree that all these bugs are tending to make me more and more convinced
that static typing is a bad idea.

Michael Kay

Received on Friday, 13 October 2006 14:06:13 UTC