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.
Development build #200604140200 of NetBeans 5.5 Windows XP, JDK 1.5.0_05 build #05 Description: ============ Navigator does not update error badges in the view when XML content changes and error is moved somewhere else. There are several scenarios how to make this inconsistency. Take a look at attached screenshot. Steps to reproduce: =================== 1. Generate new sample web application project from template. 2. Create new XML file underneath and replace its content with this code: <a><b><!- </b></a> 3. Expand "a" node in Navigator to see red "b" node. 4. Now type <c/> at empty line 2 and repeat step 3. 5. Note that "b" node is not red anymore as if it does not contain any error which is obviously incorrect.
Created attachment 29854 [details] Screenshot of navigator with insufficient error information.
TreeNodeAdapter is the root of the problem.
No time for this issue now. It would be a waste of time since I belive I'll rewrite the XMLDocumentModelProvider and hence the TreeNodeAdapter logic will change in 6.0. Moreover this is a minor problem, I would even say P4.
Reassigning to default owner of selected subcomponent. New owners are gladly welcomed.
I checked it and got no error bagdes at all. Probably this functionality in's presented anymore. Sam, could you take a look at it?
For xml documents (including schemas), there is a XML navigator, that gets badged with error icons whenever there is an error in the document. In general it works great, except few scenarios as pointed out by the reporter.
This will again depend on issue 126968.
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team