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 153422 - Support xsd:anyType as a special case of Type Cast
Summary: Support xsd:anyType as a special case of Type Cast
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Mapper (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Sergey Lunegov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-18 20:26 UTC by Nikita Krjukov
Modified: 2009-01-06 19:52 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Krjukov 2008-11-18 20:26:16 UTC
According to XML Schema specification, the xsd:anyType "represents an abstraction called the ur-type which is the base
type from which all simple and complex types are derived". 
It's necessary to create the new special case of Type Cast, which will be used if the casted component has the anyType
type. 

In case of standard TypeCast the chooser dialog suggests only types derived from the casted. 
Unlike the standard TypeCast, the dialog for the new use-case should provide any accessible schema types because any
type can be considered as derived from xsd:anyType.
Comment 1 Nikita Krjukov 2008-12-12 13:41:45 UTC
Fixed in soa-dev http://hg.netbeans.org/soa-dev/rev/ec1546125a2d
Although the changeset is not big, it isn't atomic. It contains another improvements. 

Comment 2 ggenipudi 2009-01-06 19:52:26 UTC
Tested and verified using \\thumper\50builds\gfesb-sync\v2\nightly\20090105-0707 and was able to verify the dialog for
the anytype cast shows up all accessible schema types