Validating DTDs
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,...
In the Navigator view, right-click the DTD and click Validate DTD File.
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. For more details about a problem, right-click on the problem message and click Show Details
If you receive an error message indicating that the Problems view is full, you can increase the number of error messages allowed by selecting...
Properties | Validation...from the project's pop-up menu and specifying the maximum number of error messages allowed. You may have to select the Override validation preferences check box in order to enable the Maximum number of validation messages field
You can set up project's properties so that different types of project resources are automatically validated when you save them. From a project's pop-up menu select Properties, then select Validation. Any validators you can run against theproject will be listed in the Validation page.