This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
This test should expected XPTY0117 for XQ30+. It therefore needs to be split with dependencies modified appropriately. <test-case name="CastAs675"> <description> Try to do an implicit cast from untypedAtomic to xs:QName as part of a function call Fails in 1.0 because only a string literal can be cast to xs:QName Fails in 3.0 because implicit cast to xs:QName during a function call is not allowed - see bug 11964</description> <created by="Michael Kay" on="2011-02-16"/> <dependency type="spec" value="XQ10+"/> <test><![CDATA[ declare function local:clarkname($q as xs:QName) as xs:string { concat('{', namespace-uri-from-QName($q), '}', local-name-from-QName($q)) }; let $var := <e>xml:space</e> return (local:clarkname(node-name($var)), local:clarkname(xs:untypedAtomic($var)))]]> </test> <result> <error code="XPTY0004"/> </result> </test-case>
Fixed as suggested.
Confirmed fixed.