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:
- 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.
- Switch to the Source view of the XML schema editor and click the Validate XML button
in the editor toolbar.
The IDE validates the XML and if there are validation errors, the Output window provides you with more information.
- To get more details about the errors, click the Check XML button
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