24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5. Select the type of the validated document.Note that it determines the list of possible validation engines.6. Select the validation engine.7. Select the Automatic validation option if you want to validate the current unit when automatic validation featureis turned on in Preferences.8. Choose what schema is used during validation: the one detected after parsing the document or a custom one.Validation Actions in the User InterfaceUse one of the actions for validating the current document:• Select menu <strong>XML</strong> > Validate Document (Alt+Shift+V V) ( (Cmd+Alt+V V on Mac OS)) or click the buttonValidate Document available in the Validate toolbar. This action returns an error list in the message panel.Mark-up of current document is checked to conform with the specified DTD, <strong>XML</strong> Schema or Relax NG schemarules. It caches the schema and the next execution of the action uses the cached schema.•Select menu <strong>XML</strong> > Reset Cache and Validate or click the button Reset Cache and Validate available inthe Validate toolbar to reset the cache with the schema and validate the document. This action also parses again the<strong>XML</strong> catalogs and reset the schema used for content completion. It returns an error list in the message panel. Mark-upof current document is checked to conform with the specified DTD, <strong>XML</strong> Schema or Relax NG schema rules.•Select menu <strong>XML</strong> > Validate with (Alt+Shift+V E) ( (Cmd+Alt+V E on Mac OS)) or click the buttonValidate with available in the Validate toolbar. This action can be used to validate the current document using aselectable schema (<strong>XML</strong> Schema, DTD, Relax NG, NVDL, Schematron schema). It returns an error list in themessage panel. Mark-up of current document is checked to conform with the specified schema rules.• Select submenu Batch Validation > Validate in the contextual menu of Navigator or Package Explorer view, tovalidate all selected files with their declared schemas.• Select submenu Batch Validation > Validate With ... of the contextual menu of Navigator or Package Explorerview, to select a schema and validate all selected files with that schema.• Select menu <strong>XML</strong> > Clear Validation Markers (Alt+Shift+V X) ( (Cmd+Alt+V X on Mac OS)) or click thetoolbar button Clear Validation Markers to clear the error markers added to the Problems view at the lastvalidation of the current edited document.• Select the submenu Batch Validation > Configure Validation Scenario ... of the contextual menu of Navigatoror Package Explorer view, to configure and apply a validation scenario in one action to all the selected files in theNavigator or Package Explorer view.Also you can select several files in the views Package Explorer or Navigator and validate them with one click byselecting the action Validate selection, the action Validate selection with Schema ... or the action Configure ValidationScenario ... available from the contextual menu of that view, the submenu Batch Validate.If there are too many validation errors and the validation process takes too long, you can limit the maximum number ofreported errors in Preferences.Resolving References to Remote Schemas with an <strong>XML</strong> CatalogWhen a reference to a remote schema must be used in the validated <strong>XML</strong> document for interoperability purposes, buta local copy of the schema should be actually used for validation for performance reasons, the reference can be resolvedto the local copy of the schema with an <strong>XML</strong> catalog. For example, if the <strong>XML</strong> document contains a reference to aremote schema docbook.rng like this:it can be resolved to a local copy with a catalog entry:Editing Documents | 62

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!