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 3451 - Some negative tests can raise FORG0006
Summary: Some negative tests can raise FORG0006
Status: CLOSED FIXED
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: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-13 12:00 UTC by Tom Brosens
Modified: 2006-07-17 10:30 UTC (History)
2 users (show)

See Also:


Attachments

Description Tom Brosens 2006-07-13 12:00:51 UTC
In XQTS_current.zip v1.10 following queries expect a XPTY0004. We think a FORG0006 is also correct because in all these queries an EBV cannot be calculated for the give type. If you agree, can this code be added to the expected results?

K-QuantExprWithout-33.xq
K-QuantExprWithout-7.xq
K-QuantExprWithout-8.xq
K-SeqBooleanFunc-16.xq
extvardeclwithouttype-16.xq
extvardeclwithouttype-17.xq
extvardeclwithouttype-22.xq


Thanks,
Tom.
Comment 1 Marc Van Cappellen 2006-07-13 12:59:20 UTC
If it helps, similar issues have been reported before, 2943 and 2942.
And actually, based on some of the comments from Andrew Eisenberg, I'm inclined to think that the error code must be FORG0006.

Thanks,
Marc
Comment 2 Frans Englich 2006-07-13 14:38:11 UTC
I agree FORG0006 is the only correct error in EBV abstraction in those cases. I've committed a fix for the K-* tests.

The errors in the K-* tests were mostly triggered when the static typing feature were in effect and I therefore changed some of the tests by adding treat as and removing XPTY0004, instead of changing XPTY0004 to FORG0006.

What remains now is:
extvardeclwithouttype-16.xq
extvardeclwithouttype-17.xq
extvardeclwithouttype-22.xq
Comment 3 Carmelo Montanez 2006-07-13 18:18:52 UTC
All:

I agree and changed the NIST tests accordingly.  I will mark this bug as
FIXED.  You may close it if in agreement.

Thanks,
Carmelo
Comment 4 Tom Brosens 2006-07-17 10:30:09 UTC
Fix was verified and OK now (XQTS_current.zip v1.14). Closing.