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 query reads: (: Name: qName-1 :) (: Description: Evaluation of constructor function xs:QName for which the argument is not a literal.:) (: insert-start :) declare variable $input-context1 external; (: insert-end :) xs:QName(20) The catalog entry reads: <test-case is-XPath2="true" name="qName-1" FilePath="Functions/QNameFunc/QNameConstructFunc/ExpandedQNameConstructFunc/" scenario="runtime-error" Creator="Carmelo Montanez"> <description>Test function xs:QName with argument not set to a string literal.</description> <spec-citation spec="XQuery" section-number="3.12.5" section-title="Constructor Functions" section-pointer="id-constructor-functions"/> <query name="qName-1" date="2005-11-30"/> <input-file role="principal-data" variable="input-context">emptydoc</input-file> <expected-error>XPTY0004</expected-error> </test-case> Note the difference between "input-context1" and "$input-context". I suggest removing the variable declarations, since it isn't used.
Frans: Thanks for the comment. Removed variable declaration. carmelo