|Validating XML Documents / Validating XML Documents Against a Schema|
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, only the color will be yellow instead of red.
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 the user to locate them more easily. The ruler contains the following areas:
A more detailed report of the errors is displayed in the tooltip of the validation indicator. In case there are errors, only the first three of them will be presented in the tooltip.
Clicking on 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.
The Document checking user preferences are easily accessible from the button displayed at the beginning of the error message on the bottom of the editor panel.
Bottom area containing two navigation arrows that will go to the next or to the previous error and a button for clearing all the error markers from the ruler. The same actions can be triggered from menuand .
The validation status area is the line at the bottom of the editor panel that presents the message of the current validation error selected on the right side ruler. Clicking on opens the document checking page in Oxygen XML Editor user preferences.
Status messages from every validation action are logged into the Information view.
If you want to see all the validation error messages grouped in a view you should run the action Validate which is available both on the Validate toolbar and on the menu. This action collects all error messages in the Errors view.