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.
When the sun-ejb-jar.xml file is opened in Editor, Navigator shows its structure. This behavior is quite strange, because in Editor there is no XML raw/Structure view (user can double-click on a member, but nothing will happen). The correct behavior should be to move the tree structure from Editor to Navigator and add some views for that file. I remember we discussed this issue when we designed support for XML files and we all agreed that there is no time to do that. In addition to that there is no note about this case in the UI spec. Because of these two reasons I think we should provide some message to the user: < No View Available >. This message should be centered.
First, I do not understand why this is a P2 bug, it is completely harmless, only a small inconsistency. Strangely, the navigator is supported for sun-ejb-jar.xml and sun-application.xml but NOT for sun-web.xml. Note that there are 2 editors for Sun server specific files, you can open one with Open action (GUI editor), the other one with Edit action (text/xml editor), one cannot be open when the other one is open. This is as designed. Navigator works OK with the text editor. I think it would be OK to keep the navigator open all the time. Even better would be to hide the navigator when there is the GUI view and show it only for the XML view.
Oops, it was mistake. It should be P3 bug. It is really strange that navigator does not support sun-web.xml file. It is same case like sun-ejb- jar.xml and sun-application.xml - move the tree structure to the Navigator, but for this release I am able to accept proposed message. I do not think that good solution is to hide Navigator according to the opened editor (GUI or Text). The ideal state is to have two views in navigator w. as proposed.
The problem with XML navigator not enabled for all mentined filetypes is described in Issue #62977. The rest is better described by Jindra in Issue #64670 *** This issue has been marked as a duplicate of 64670 ***
Okay, verifying ...