Validating an XML Document

See Also 

If you have an XML document that is constrained by an XML schema or DTD, you can validate the XML document to check its contents for syntax errors.

If your XML document's DTD is located on a remote machine, ensure that the IDE's proxy is correctly configured and you have access to the DTD.

To validate an XML document:

  1. Right-click the document's node in the Files window.
  2. Choose Validate XML.

    The Output window lists any errors along with the line number where the error was detected.

Common Error Messages

Some common error messages generated during DTD validation include:

See Also
Setting a Proxy
Working With XML Schemas
Checking an XML Document for Well-Formedness

Legal Notices