blob: 12c7aa7a439ba6f36bf14a69224dbacb82838b53 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--Arbortext, Inc., 1988-2008, v.4002-->
<?Pub Sty _display FontColor="red"?>
<task id="tvaldtd" xml:lang="en-us">
<title>Validating DTDs</title>
<searchtitle>Validating DTDs</searchtitle>
<shortdesc>Validating a DTD file lets you verify that it is well formed
and does not contain any errors.</shortdesc>
<context><p>The following instructions were written for the Resource
perspective, but they will also work in many other perspectives.</p><p>To
validate a DTD, right-click the DTD in the Navigator view and click <menucascade>
<uicontrol>Validate</uicontrol></menucascade>. 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.<?Pub Caret?></p></context>
<result><note>If you receive an error message indicating that the
Problems view is full, you can increase the number of error messages
allowed in the view. Click <menucascade><uicontrol>Window</uicontrol>
<uicontrol>Preferences</uicontrol></menucascade> and select <menucascade>
</menucascade>. On this preferences page you can increase or decrease
the number of visible items in the problems view. </note><p>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 <uicontrol>Properties</uicontrol>, and select <uicontrol>Validation</uicontrol>.
Any validators you can run against your&nbsp;project will be listed
in the Validation page.</p></result>
<link href="../../org.eclipse.jst.j2ee.doc.user/topics/tjval.dita"
scope="peer"><linktext>Validating code in enterprise applications</linktext>
<desc>General validation information</desc>
<?Pub *0000002105?>