You can validate or check the XML form of the documents while editing them in Author Editor. Validate as you type as well as validate on request operations are available. Author editor offers validation features and configuring possibilities similar to text editor. You can read more about checking the XML form of documents in section Checking XML form. A detailed description of the document validation process and its configuration is described in section Validating Documents.
A fragment 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 of the document is designed to display the errors found during the validation process and also to help the user to locate them more easily. The ruler contains the following areas:
top area containing a success validation indicator that will turn green in case the validation succeeded or red otherwise.
A more detailed report of the errors is displayed in the tool tip. In case there are errors, only the first three of them will be presented in the tool tip;
middle area where the errors markers are depicted in red (with a darker color tone for the current selected one). The number of markers shown can be limited by modifying the setting Editor / Document checking+Limit error markers to
→ +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 Ctrl + .)-> Next error and → (Ctrl + ,)-> Previous error.
→ (The validation status area is the line at the bottom of the editor panel that presents the message of the current validation error. Clicking on document checking page in <oXygen/> user preferences.
opens theStatus messages from every validation action are logged into the Information view.