This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Is XQTY0102 a type error or a dynamic error? From the description it sounds like a dynamic error, but the code suggests a type error. Either way, it should say explicitly.
This is now fixed. *** This bug has been marked as a duplicate of bug 13289 ***