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.
Product Version: NetBeans IDE Dev (Build 200808210201) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b12 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) Steps to reproduce: 1. Create java application. 2. Cretae two xml schemas with all defaults. 3. Add Element A into first schema and B into second. Both schemes marked as modified. 4. Create XML constrained document based on these two schemes and wizard will fail with warning message about absent root element. 5. To make it work schemes should be saved before wizard.
The EntityResolver would have to inspect whether an opened Document exists for the schema file & open that Document contents instead of just using URL of the fileobject.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss