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.
Problem: If an element is of a type from a referenced schema then that reference is removed, the element remains of the type. Steps: 1. Create loan sample schema 2. Create a new schema 3. Import loan schema to newSchema 4. In newSchema, (schema view) add a new element of referenced type. Select some type from referenced load schema. 5. Remove imported loan schema 6. The type of the added element remains, you can check in source view that type="ns0:LoanType" although ns0 does not exist anymore. 7. Also, schema view retains all the child nodes for the new element even after the removal of the import. This can be resolved by closing and reopening the schema but the type remains. System: Product Version: NetBeans IDE 6.0 (Build 200711261600) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.1 running on i386; MacRoman; en_US (nb)
Most likely we have this as a bug/enhancement. Sonali, can you pl. confirm?
This is an enhancement. Please also see issue 117649 http://www.netbeans.org/issues/show_bug.cgi?id=117649