|
Re: Errors in Problems view does not get cleared after deleting error line in XML editor [message #1699044 is a reply to message #1698997] |
Fri, 19 June 2015 18:54 |
|
It's as designed. Java Projects do not default to having the Validation Builder, which would automate XML file validation as part of the build (you can add it from the project's Properties dialog if you wish). Step 6 manually validated the file contents and updated the Problem markers for the file. You'd need to repeat that to see updates since the XML Editor is doing its job by preserving the original problem markers, and even moving them around if you insert new lines before line 2. When you remove the lines that have markers recorded on them, you're removing the corresponding text annotations, removing the underlying markers when the file is saved. Look into the org.eclipse.ui.texteditor.MarkerAnnotation and the associated MarkerAnnotationModel.
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.07875 seconds