This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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).
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"."
Marc: Thanks for the message. This is an issue we will probably discuss this week during our regular telecon. Carmelo
Marc: Thanks for the note. The expected error tag was removed as the given condition is not an error. Carmelo