Before you start: open the XSD or DTD document in XML ValidatorBuddy and save any pending changes.

Run the schema validation

  1. Make the schema document the active editor tab.
  2. Choose the command to validate the current XML Schema or DTD document.
  3. Review the Results window. A successful run confirms that the grammar document itself is valid.
  4. If an error is reported, open the finding to move to the affected line and character.
XML ValidatorBuddy dialog for generating XML Schema documentation
Schema tools stay connected to the open XSD and its components.

Understand what this check covers

This task validates the schema or DTD document itself. It does not prove that a separate XML instance conforms to that schema. To check an instance, use the XML validation workflow and select or associate the required grammar.

Choose the validation task that matches your input.
InputTaskExpected result
XSD or DTDValidate the grammar documentSchema/DTD errors or a successful grammar check
XML instanceValidate against XSD or DTDInstance findings linked to document locations
XML + SchematronApply business rulesAssertions and reports from the selected rules