Manage XML validation

You can use XML validation to check a document written in XML (eXtensible Markup Language) to confirm that it is both well-formed and also valid (it follows a defined structure). A well-formed document follows the basic syntactic rules of XML, which are the same for all XML documents. The defined structures that govern whether a document is valid are schemas and frameworks.

When you work in Inspire, there are two places where you can validate an XML document:

Components Browser options

Authors can ensure their content is structured correctly or view a list of errors if validation fails from the components browser without opening the component in the Oxygen editor. Using the right-click or context menu option, you can select Validate XML.

Inspire also provides validation outside of the Oxygen editor. You can right-click or use the Options menu to validate when users:

  • Export...
  • Publish...

The Export and Publish dialogs have an option to Skip XML validation.

To configure which schema, or set of rules, that Inspire uses when a component is validated in the Components browser options, you must Manage XML validation schemas in Inspire.

Oxygen Editor
When working with documents in the Oxygen-based editor, you need to make sure they are well-formed and valid so that any XML application that uses your XML document won't run into errors and quit. As you create content in the editor, Oxygen checks for XML errors and shows you the results in the Validation pane.
To configure which framework, or set of rules, that Inspire uses when a component is validated in the Oxygen editor, you must Manage XML validation frameworks in Oxygen.