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 144676 - Save All required to use added elements.
Summary: Save All required to use added elements.
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-21 07:38 UTC by Michael Nazarov
Modified: 2016-07-07 09:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Nazarov 2008-08-21 07:38:32 UTC
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.
Comment 1 Svata Dedic 2011-10-26 15:03:24 UTC
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.
Comment 2 Martin Balin 2016-07-07 09:56:26 UTC
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