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 2417 - constSeq-* declare a variable different from the one in the catalog
Summary: constSeq-* declare a variable different from the one in the catalog
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.7.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-25 18:46 UTC by Alberto Massari
Modified: 2005-11-11 21:51 UTC (History)
0 users

See Also:


Attachments

Description Alberto Massari 2005-10-25 18:46:10 UTC
The constSeq-1, constSeq-2, etc... queries all start with 

(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)

but the catalog file declares them as 

<test-case is-XPath2="true" name="constSeq-1"
FilePath="Expressions/SeqExpr/ConstructSeq/commaOp/" scenario="standard"
Creator="carmelo Montanez">
[...]
	<input-file role="principal-data" variable="input-context">emptydoc</input-file>

So, "input-context" is assigned, but "input-context1" is used.
Either the queries should avoid the usage of the external variable, or they
should match.
Comment 1 Alberto Massari 2005-10-25 21:41:23 UTC
In addition, fn-lang-1 suffers from the opposite error (it references
input-context, but the catalog specifies input-context1)
Comment 2 Carmelo Montanez 2005-10-26 14:02:46 UTC
Catalog was changed to make reference to "input-context1" and match the
tests.  Please close the bug if you agree.  A new version of the catalog
will be at the CVS repository the end of the day.

Thanks,
Carmelo Montanez