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 2575 - scenario=***-error but no expected error
Summary: scenario=***-error but no expected error
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.2
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
: 2598 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-09 22:07 UTC by David Carlisle
Modified: 2006-01-12 10:05 UTC (History)
1 user (show)

See Also:


Attachments

Description David Carlisle 2005-12-09 22:07:11 UTC
The test suite fails its own consistency check Catalog003 reports the following
list of tests flagged as error but no expected-error given, In the cases Ive
checked the scenario should not be an error and the expected result, is correct.

$ saxon8q Queries/XQuery/Catalog/Catalog003.xq +input-context=XQTSCatalog.xml
<?xml version="1.0" encoding="UTF-8"?>
<error-no-expected-error>letexprwith-2 letexprwith-3 letexprwith-4 letexprwith-5
 letexprwith-6 letexprwith-7 letexprwith-8 letexprwith-9 letexprwith-10 letexprw
ith-11 letexprwith-12 letexprwith-13 letexprwith-14 letexprwith-15 letexprwith-1
6 letexprwith-17 letexprwith-18 letexprwith-19 letexprwith-20 letexprwith-21 let
exprwith-22 letexprwith-23 letexprwith-24 fn-codepoints-to-string-3 fn-codepoint
s-to-string-4 fn-codepoints-to-string-5 fn-codepoints-to-string-6 fn-codepoints-
to-string-7 fn-codepoints-to-string-8 fn-codepoints-to-string-9 fn-codepoints-to
-string-10 fn-codepoints-to-string-11 fn-codepoints-to-string-12 fn-codepoints-t
o-string-13 fn-codepoints-to-string-14 fn-codepoints-to-string-15 fn-codepoints-
to-string-16</error-no-expected-error>
Comment 1 Andrew Eisenberg 2005-12-15 16:32:46 UTC
Most of these have been fixed. I now see a result of:

<error-no-expected-error>fn-error-2 fn-default-collation-2</error-no-expected-error>

fn-error-2 uses the Inspect comparator ... Andreas, I believe that the query
needs to take this into account.

Carmelo, the fn-default-collation-2 test case should be corrected.
Comment 2 David Carlisle 2005-12-15 16:43:07 UTC
>Most of these have been fixed. I now see a result of:

I know this has come up before, but any chance the fixed test suite could be
made available. tracking all the changes via bugzilla is not easy[1], especially
when the entries often just say things have been fixed without saying exactly
what the change is. (I would guess that the scenario attribute is fixed in these
cases but in perhaps some an expected-error has been documented?)
Comment 3 Andreas Behm 2005-12-15 18:45:53 UTC
updated the query to accept Inspect result, remains fn-default-collation-2
Comment 4 Carmelo Montanez 2005-12-15 19:46:21 UTC
Dave:

This was my oversight.  The test entry for "fn-default-collation" was changed 
to "standard".  I belive this was the case for the other tests and a similar 
change was done.

Please cloe the bug when able to verify.

Thanks,
carmelo
Comment 5 Andrew Eisenberg 2005-12-16 15:12:17 UTC
*** Bug 2598 has been marked as a duplicate of this bug. ***