-
On the Tools menu, point to the type of file that you want to validate.
-
The schema file that you want to validate must be open.
-
When you validate a schema file, the Schema Editor checks the file against the meta schema and a set of semantic rules. Validation results are displayed in a text editor.
-
You can select Validate Schema/Display Results on the toolbar to validate the active schema file and display validation results.
-
Click Tools > Another Schema > Validate All Schema Files > Display Results to validated all opened schema files.
-
To view error messages and warnings in Notepad, click Generate & View Report.
-
-
To display validation results, click Validate > Validate/Display Results.
-
On the Validation Errors and Warnings, use the Tree View to navigate the messages by type, group, or individually.
Three types of messages appear in the tree view -- Information Messages, Warning Messages, and Error Messages.
-
Expand the type you want to view, then select a message.
-
If you select a group message, which appears bold in the Tree View, the message text appears in the upper right window and each object error related to that group appears in the Error Table in the lower right window.
-
If you expand the group message and select an object from its tree view, the message text appears in the upper right window and the object error related to that item appears in the Error Table in the lower right window.
-
-
To correct validation errors, select one or more items in the Error Table.
-
In the Correct by list, select the action you want to take, then click Correct Selection(s).
-
To correct more than one object from the Error Table, hold the Shift key and select the consecutive objects you want to correct. You can only select consecutive objects.
-
If you select more than one object from the Error Table, the Edit <object> dialog box for the first object in the list appears first. When you click OK, the dialog box opens for the next object.
-
-
In the Edit <object> dialog box, make your corrections, then click OK.
-
When all corrections you want to make are complete, click Close.
If you want to filter particular types of errors out of the validation results, click Tools > Set Validation Message Filtering.