This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4101 - qName-1 has variable named incorrectly
Summary: qName-1 has variable named incorrectly
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 1.0.2
Hardware: Other Linux
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-19 14:53 UTC by Frans Englich
Modified: 2007-03-09 14:14 UTC (History)
0 users

See Also:


Attachments

Description Frans Englich 2006-12-19 14:53:38 UTC
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.
Comment 1 Carmelo Montanez 2007-03-09 14:14:46 UTC
Frans:

Thanks for the comment.  Removed variable declaration.

carmelo