Validating XML Schema Files

See Also

You can use the XML validation functions that are part of the IDE to validate the XML in your schema.

To validate an XML schema file:

  1. Open the XML schema file in the Source Editor.
    The Schema view of the XML schema editor opens with the selected file.
    If your XML schema file is not valid, 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 the file is not valid.
  2. Switch to the Source view of the XML schema editor and click the Validate XML button Validate XML in the editor toolbar.
    The IDE validates the XML and if there are validation errors, the Output window provides you with more information.
  3. To get more details about the errors, click the Check XML button Check XML in the editor toolbar.
    The Output window lists any errors along with the line number where the error was detected.
    This location is not necessarily the line where the error occurred. You can click any error message to go to the line in the XML file where the error was detected.
See Also
XML Schema Tasks
About XML Schema Tools

Legal Notices