Please enable JavaScript to view this site.

Altova MapForce 2021 Professional Edition

After you click the Output tab to preview the mapping, the resulting output becomes available in the Output pane. You can validate this output against the schema associated with it. For example, if the mapping transformation generates an XML file, then the resulting XML document can be validated against the XML schema.


For XML files, you can specify the schema associated with the instance file in the Add Schema/DTD reference field of the Component Settings dialog box (see XML Component Settings ). The path specifies where the schema file referenced by the produced XML output is to be located. This ensures that the output instance can be validated when the mapping is executed. You can enter an http:// address in this field, as well as an absolute or relative path. If you do not select the Add Schema/DTD reference field, then the validation of the output file against the schema is not possible. If you select this check box but leave it empty, then the schema filename of the Component Settings dialog box is generated into the output and the validation is done against it.

To validate the mapping output, do one of the following:

Click the Validate Output ic-validate toolbar button.


On the Output menu, click Validate Output File.


Note:The Validate Output button and its corresponding menu command (Output | Validate Output File) are enabled only if the output file supports validation against a schema.


The result of the validation is displayed in the Messages window, for example:




If the validation was not successful, the message contains detailed information on the errors that occurred.


The validation message contains a number of hyperlinks you can click for more detailed information:


Clicking the file path opens the output of the transformation in the Output tab of MapForce.

Clicking <ElementName> link highlights the element in the Output tab.

Clicking the ic_def icon opens the definition of the element in XMLSpy (if installed).

Clicking the hyperlinks in the Details subsection (e.g., cvc-model-group) opens a description of the corresponding validation rule on the website.

© 2015-2021 Altova GmbH