A line with a validation error or warning will be marked in the editor panel by underlining the error region with a red color. Also a red sign will mark the position in the document of that line on the right side ruler of the editor panel. The same will happen for a validation warning, but the color will be yellow instead of red. Hovering over a validation error presents a tooltip message with more details about the error and possible quick fixes (if available for that error or warning).
The ruler on the right side of the document is designed to display the errors and warnings found during the validation process and also to help you to locate them more easily. The ruler contains the following areas:
Clicking a marker will highlight the corresponding text area in the editor. The error message is displayed both in the tool tip and in the error area on the bottom of the editor panel.
Status messages from every validation action are logged into the Console view.
If you want to see all the validation error messages grouped in a view you should use
the
Validate
action from the XML menu or from the
Validation toolbar drop-down menu. This action collects
all error messages in the
Problems view of the Eclipse platform if the validated file is in
the current workspace or in a custom Errors view if the validated
file is outside the workspace.