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.
1. Create newLoanApplication schema. 2. Create a new global element. 3. Popup menu on the schema -> Generate Sample XML. Result: no just created element in Root Element combobox. Workaround is to save schema before XML generation. IMHO either user should be asked if he wants to save changes before generation, or it should be done automatically.
It has nothing to do with save. Wait for few seconds and you should see the new element. Just like there is a delay in source and design, similarly there is a delay here.
No, even after waiting several minutes I don't see the new element in the combobox.
You're right. The problem is, we're not using axiom model for finding the elements and hence the element doesn't show up. However, on a second thought, it doesn't sound like a p3 bug to me. Nothing is broken here. If you, think about it, the element doesn't show up because the doc is not saved and appears when it is saved. If you insist, we can have a yes/no messagebox (requires change in resource bundle) that will ask the user, but can be done post 6.1.
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