Validating a Document Type
It is important to validate document types to eliminate errors and warnings.
To validate a document type:
1. Open Arbortext Architect.
2. Choose > .
3. Locate the directory in which the document type you want to validate is located, and then click Select.
4. In the Arbortext Architect panel, choose > to open the DTD associated with the document type.
5. In the text-based DTD Editor, choose > to parse the DTD. If any errors or warnings are detected, a Message/Error Log displays in an Arbortext Architect window.
6. Correct all errors. To locate an error in your document, double-click on the error line number listed after the validation error in the Validation Warning/Error Log dialog box. For example, if the error is at: (err:721 line:2 pos:22), double-click line:2. The cursor will move to the error location in your document.
7. Choose > if you made changes, and then choose > to close the DTD Editor.
8. Choose > .
9. Correct any errors and fix warnings as needed in Arbortext Architect.
10. Choose > and open a test document on which to run a completeness check.
11. Choose > . Insert any missing or required tags and text in the document until the completeness check reports the document is complete and without errors.
12. Choose > to save the test document, if necessary, and then > to close the test document.