- From: <bugzilla@jessica.w3.org>
- Date: Thu, 23 Feb 2012 10:41:56 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16090 Summary: [QT3] CastAs675 Product: XPath / XQuery / XSLT Version: Member-only Editors Drafts Platform: PC OS/Version: Windows NT Status: NEW Severity: normal Priority: P2 Component: XQuery 3 & XPath 3 Test Suite AssignedTo: benjie.nguyen@gmail.com ReportedBy: tim@cbcl.co.uk QAContact: public-qt-comments@w3.org 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> -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Thursday, 23 February 2012 10:41:59 UTC