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 3129 - Catalog info for cast-within-3 and cast-within-4 are swapped
Summary: Catalog info for cast-within-3 and cast-within-4 are swapped
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.9.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 09:56 UTC by Alberto Massari
Modified: 2006-06-14 20:34 UTC (History)
0 users

See Also:


Attachments

Description Alberto Massari 2006-04-21 09:56:36 UTC
cast-within-3 has this content

let $value := xs:integer(10.0)
return $value cast as xs:nonNegativeInteger

but it expect "minus10.txt" as result, i.e. -10

On the other end, cast-within-4 has this content

let $value := xs:integer(-10.0)
return $value cast as xs:negativeInteger

but it expect "value10.txt" as result, i.e. +10

I think minus10.txt is the result for cast-within-4 and value10.txt for cast-within-3
Comment 1 Carmelo Montanez 2006-04-21 14:13:39 UTC
Alberto:

You are correct.  the values were swapped.  I switched the expected values
to reflect the correct expected valued.  Please close the bug if in agreement.

Thanks,
Carmelo

Comment 2 Carmelo Montanez 2006-06-02 13:42:35 UTC
This was re-opened by mistake.  Closing it again.

Carmelo