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 3579 - externalcontextitem-22 et seq
Summary: externalcontextitem-22 et seq
Status: RESOLVED INVALID
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-03 09:37 UTC by Michael Kay
Modified: 2006-08-03 16:18 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2006-08-03 09:37:34 UTC
Tests externalcontextitem-22, -23, and -24 seem to be essentially identical except for trivial variations (different source documents, some use a leading "./" in the path expression. Yet:

externalcontextitem-22 expects success
externalcontextitem-23 expects failure
externalcontextitem-24 expects success (except that the comment in the test says it expects failure).

Whether or not these tests fail with "context item undefined" depends essentially on the test driver, so it would be useful to have clarification as to whether (and under what circumstances) the test driver is expected to set up an initial context item.

Also, the descriptions of these tests bear little relation to the content, e.g. incorrect references to the max() function.
Comment 1 Michael Kay 2006-08-03 16:18:22 UTC
My eagle eyes failed to spot the catalog differences, namely that tests -22 and -24 omit the "variable" attribute, or the new documentation which explains that this means the value should be supplied as the context item. Bug withdrawn.