blob: 8d33cfeddb10668c431f9069d05733e01bb0e188 [file] [log] [blame]
syeshin17ed4a62005-07-25 17:10:24 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE html
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4<html>
5<head>
syeshin15e1cc42005-08-26 04:13:17 +00006<link rel="stylesheet" type="text/css" href="../org.eclipse.wst.doc.user/common.css" />
syeshin17ed4a62005-07-25 17:10:24 +00007<title>Validating DTDs</title>
syeshin15e1cc42005-08-26 04:13:17 +00008</head>
syeshin17ed4a62005-07-25 17:10:24 +00009<body id="tvaldtd"><a name="tvaldtd"><!-- --></a>
10
11<h1 class="topictitle1">Validating DTDs</h1>
12<div><p>Validating a DTD file lets you verify that it is well formed and
13does not contain any errors.</p><div class="skipspace"><p>The following instructions were written for the Resource perspective,
14but they will also work in many other perspectives. </p>
15<p>To validate
16a DTD, follow these steps:</p>
17</div>
18<div class="p"><span>In the Navigator view, right-click the DTD and click <span class="menucascade"><span class="uicontrol">Validate DTD File</span></span>.</span></div>
19<div class="skipspace">A dialog opens, indicating if the DTD file was successfully validated
20or not. If the file is invalid, any errors will appear in the Problems view.
21 <p><b>Note</b>: If you receive an error message indicating
22that the Problems view is full, you can increase the number of error messages
23allowed by selecting <span class="menucascade"><span class="uicontrol">Properties</span> &gt; <span class="uicontrol">Validation</span></span> from the project's pop-up menu and specifying the maximum number
24of error messages allowed. You might have to select the <span class="uicontrol">Override
25validation preferences</span> check box in order to enable the <span class="uicontrol">Maximum
26number of validation messages</span> field</p>
27<p>You can set up project's
28properties so that different types of project resources are automatically
29validated when you save them. From a project's pop-up menu select <span class="uicontrol">Properties</span>,
30then select <span class="uicontrol">Validation</span>. Any validators you can run
31against your project will be listed in the Validation page. </p>
32</div>
33</div>
34<p>
35 (C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.
36</p>
37</body>
38</html>