Validation and error presenting

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.

 

Figure 5.28. Error presenting in <oXygen/> Author editor

Error presenting in <oXygen/> Author editor

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:

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 opens the document checking page in <oXygen/> user preferences.

Status messages from every validation action are logged into the Information view.