Validating a DTD file lets you verify that it is well formed and does not contain any errors.
The following instructions were written for the Resource perspective, but they will also work in many other perspectives.
To validate a DTD, right-click the DTD in the Navigator view and click
. A dialog opens, indicating if the DTD file was successfully validated or not. If the file is invalid, any errors will appear in the Problems view.You can set up a project's properties so that different types of project resources are automatically validated when you save them. Right click on the project, click Properties, and select Validation. Any validators you can run against your project will be listed in the Validation page.