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 1966 - generalexpression contains both <output-file> and <expected-error>
Summary: generalexpression contains both <output-file> and <expected-error>
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.6.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-02 21:02 UTC by Marc Van Cappellen
Modified: 2005-10-11 07:23 UTC (History)
0 users

See Also:


Attachments

Description Marc Van Cappellen 2005-09-02 21:02:33 UTC
A number of the generalexpression tests, for example generalexpression1,  
contain both a <output-file> and <expected-error> element.
Does this imply that both raising an error and evaluating to the appropriate 
results are considered correct? Or are the <expected-error> elements legacy and 
can be removed?
For example in generalexpression1, which reads as follows: "() = ()". The 
expected error, XPST0005, seems incorrect in this scenario. We do agree with 
the expected output (false).
Comment 1 Andrew Eisenberg 2005-09-05 18:45:34 UTC
In general, we have described the occurrence of multiple results in our
documentation. The Guidelines for Running the XML Query Test Suite, in the
Comparing Results section, state:

"It is possible that a test case provides multiple expected results. In this
case, successfully comparing the actual result to one of the provided expected
results is a "pass"."
Comment 2 Carmelo Montanez 2005-09-12 14:02:58 UTC
Marc:

Thanks for the message.  This is an issue we will probably discuss this
week during our regular telecon.

Carmelo
Comment 3 Carmelo Montanez 2005-09-16 13:39:28 UTC
Marc:

Thanks for the note.  The expected error tag was removed as the given condition
is not an error.

Carmelo