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.
[ BUILD # : beta 1 ] [ JDK VERSION : 1.6 ] The test, 1) open any well formed xml document 2) change anything to break the parsin (eg: remove a close tag) 3) error stripe shows a gray box, only Error stripe should: a) print the red box b) an annotation to warn the user c) when pass the mouse pointer over the red box displays the number of errors
Another related thing: when the xml document is well formed and parseable, the green box is not displayed.
This is not an error stripe problem. The errorstripe only shows annotations that are already shown in the editor. The XML editor does not provide an online-checker, and so the error stripe has no data to show. BTW: there is an experimental version of such a checker in contrib/editorhints/xml.
Yes, this is not supported for XML, so reclassifying as enhancement. The question is, whether the error stripe should be displayed at all, and what code is responsible for displaying it? Honzo, should not it be hidden for XML?
From the technical point of view, it is possible to show the error stripe only for specific mime types. This was discussed in issue #61235, and the final decision (mine) was to leave the error stripe in all editors and only change the "global status" to gray if the global status is not usefull. The reason is that the error stripe may show bookmarks which are usefull for nearly all mime types. But, if you think it would be better to disable ES in the unsupported mime types, please reopen issue #61235 so we can discuss it. We can disable it for general XML and enable for ant scripts (to get breakpoints), etc.
*** Issue 66193 has been marked as a duplicate of this issue. ***
TM 5.0->TBD
Reassigning to default owner of selected subcomponent. New owners are gladly welcomed.