This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The test uses declare variable $v as element(notWildCard, xs:untyped?)+ := <e/>; and expects this to succeed. It fails on two counts: the element name is "e" rather than "notWildCard", and the element type is xs:anyType (assuming the default construction mode), not xs:untyped.
*** Bug 6988 has been marked as a duplicate of this bug. ***
Should be fixed now.
I don't think the XQueryX version has been corrected.