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.
A user should be able to cast an element (or an attribute) to another type. It should be done in a way similar to the way predicates are added now -- right-click on a node and choose "Cast to...". He is then presented with a type chooser, where he selects a derived type (or a restricted one in case of simple types) and an additional node is created next to the original. The type cat information is persisted in an extension element on the process level so that the cast information is directly available in all mappers across the process. When the cast is actually used in a mapping a reference to the cast is added to an extension in the copy element.
Need support for xsd:any.
Fixed.
Tested and verified using Build 200810080102 and was able to cast base element to derived XSD any any type and build the project and test runtime.