This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 135489

Summary: Validation reports warnings on valid and completely invalid <copy>'s
Product: soa Reporter: Kirill Sorokin <ksorokin>
Component: BPEL ValidationAssignee: Vladimir Yaroslavskiy <yaroslavskiy>
Status: VERIFIED FIXED    
Severity: blocker CC: sustaining
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Sample
Test project

Description Kirill Sorokin 2008-05-21 12:46:48 UTC
See the attached project: assigns ## 2, 3, 4. 

Assign #2 is treated as a warning: I'm trying to copy from a xsd:negativeInteger to xsd:positiveInteger. I would rather
treat this as an error, as the copy would always fail (unless there is no type checking on the runtime).

Assigns #3 and #4 are also treated as warnings, though they are completely valid: I'm copying from xsd:positiveInteger
and xsd:byte to xsd:integer. These copies will always succeed.
Comment 1 Kirill Sorokin 2008-05-21 12:47:23 UTC
Created attachment 61675 [details]
Sample
Comment 2 Vladimir Yaroslavskiy 2008-05-21 14:29:59 UTC
Created attachment 61684 [details]
Test project
Comment 3 Vladimir Yaroslavskiy 2008-05-21 14:30:46 UTC
fixed: ff5738b9710c
Comment 4 Vladimir Yaroslavskiy 2008-05-21 14:46:56 UTC
Assign bpel test fails, validation should be little bit adjusted...
Comment 5 Vladimir Yaroslavskiy 2008-05-22 14:45:51 UTC
fixed.
Comment 6 Vladimir Yaroslavskiy 2008-05-22 14:53:10 UTC
changeset: b0826bf58897
Comment 7 Kirill Sorokin 2008-05-27 11:04:31 UTC
Verified.
Comment 8 pslechta 2008-05-28 09:40:00 UTC
The fix has been ported into the release61_fixes repository.

http://hg.netbeans.org/release61_fixes/rev/12896795c23e
http://hg.netbeans.org/release61_fixes/rev/0b935fb8601e