Validating an XML Document Instance

Use the XML Editor to validate XML documents against an XML schema.

If a document does not link to a schema, you cannot validate the structure against any schema.

  1. Do one of the following:
    • Open the document in the XML Editor.
    • If the document is already open, save the changes.
  2. Select XML > Validate XML.

    The XML Editor checks the structure of the document and displays an information dialog with the results. Detailed descriptions of validation errors display in the Problems view.

Related concepts
XML Editor Outline View
Related tasks
Setting XML Editor Preferences
Configuring XML File Associations
Generating an XML Schema from a Document Instance
Generating an Instance Document for an XML Schema
Pruning an XML Schema

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.