~ubuntu-branches/ubuntu/quantal/netbeans/quantal

« back to all changes in this revision

Viewing changes to xml/schema/core/javahelp/org/netbeans/modules/xml/schema/core/tasks/validatingxmlschema.html

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
ImportĀ upstreamĀ versionĀ 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<!--
 
3
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
 
4
* Use is subject to license terms.
 
5
-->
 
6
<html>
 
7
<head>
 
8
<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
 
9
<title>Validating XML Schema Files</title>
 
10
</head>
 
11
<body>
 
12
<h2>Validating XML Schema Files</h2>
 
13
<p><small><a href="#seealso">See Also</a></small></p>
 
14
<p>You can use the XML validation functions that are part of the IDE to make sure your XML schema is well-formed and valid.</p>
 
15
<p><b>To verify that an XML schema file is well-formed:</b></p>
 
16
<ol>
 
17
<li>Open the XML schema file.<br>
 
18
The Schema view of the XML schema editor should open with the selected file. If your XML schema file is not well-formed, the IDE does not show the content of the schema file, instead, a message appears in the center of the view to let you know that there is a problem and that you need to use the Source view to fix the errors.</li>
 
19
<li>Switch to the Source view of the XML schema editor and click the Check XML button <img src="../images/check_xml.png" alt="Check XML">&nbsp;in the editor toolbar.<br>
 
20
The IDE checks the XML and if there are errors, the Output window provides you with more information.</li>
 
21
</ol>
 
22
<p><b>To verify that an XML schema is valid:</b></p>
 
23
<ol>
 
24
<li>Open the XML schema file.<br>
 
25
The Schema view of the XML schema editor opens with the selected file.</li>
 
26
<li>Click the Validate XML button <img src="../images/validate_xml.png" alt="Validate XML">&nbsp;in the editor toolbar.<br>
 
27
The IDE validates the XML schema file and if there are errors, the Output window provides you with more information. </li>
 
28
</ol>
 
29
<dl>
 
30
<dt><a name="seealso">See Also</a></dt>
 
31
<dd><a href="../about.html" title="About XML Schema Tools">About XML Schema Tools</a></dd>
 
32
</dl>
 
33
<hr>
 
34
<small><a href="../credits.html">Legal Notices</a></small>
 
35
<table cellpadding="150" border="0"> 
 
36
<tr><td>&nbsp;</td></tr> 
 
37
<tr><td>&nbsp;</td></tr> 
 
38
<tr><td>&nbsp;</td></tr> 
 
39
</table> 
 
40
</body>
 
41
</html>