- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 19 Dec 2006 14:53:39 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4101
Summary: qName-1 has variable named incorrectly
Product: XML Query Test Suite
Version: 1.0.2
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: XML Query Test Suite
AssignedTo: carmelo@nist.gov
ReportedBy: frans.englich@telia.com
QAContact: public-qt-comments@w3.org
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.
Received on Tuesday, 19 December 2006 14:54:04 UTC