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 4302 - internalvar-1 and internalvar-2 evaluates an external variables
Summary: internalvar-1 and internalvar-2 evaluates an external variables
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 1.0.2
Hardware: PC Windows XP
: 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: 2007-02-06 18:52 UTC by Ivan Shcheklein
Modified: 2007-03-14 19:37 UTC (History)
0 users

See Also:


Attachments

Description Ivan Shcheklein 2007-02-06 18:52:12 UTC
It strange to see this test-case within internal variables group. Both internalvar-1 and internalvar-2 contain only external variables. I suggest to move these test-cases to external varibles group (internalvar-1 into group ExternalVariablesWith and internalvar-2 into ExternalVariablesWithout) and create appropriate <input-query> elements in XQTSCatalog.xml for them.

Also I suppose it is better to move external var declarations in these tests out from 

(: insert-start :)

(: insert-end :)

comments block.
Comment 1 Frans Englich 2007-02-14 17:50:04 UTC
Another problem is that the name is "local:var" in the query, and that the catalog as well specifies "local:var". This makes an assumption on lexical equalness of QNames, which implementations doesn't consider relevant. I suggest renaming the variables to not have a prefix.


Frans
Comment 2 Carmelo Montanez 2007-03-14 17:49:49 UTC
Ivan:

Thanks for the comment.  Actually, the tests are intended to use
local variables.  Removed "external" keyword and also removed "local:"
from name.

Thanks,
Carmelo
Comment 3 Ivan Shcheklein 2007-03-14 19:37:19 UTC
Thanks. I marked this bug as closed.