Parse XML
form
|
Use the Validate tab to specify that the system is to validate incoming XML against a published definition — a Document Type Definition (DTD) or an XML Schema Definition (XSD) file — before the system attempts to parse the XML document.
These fields are deprecated. Click Upgrade to convert older Parse XML rules to the V5.4 format. See Parse XML form — Completing the Mapping tab.
When you enable XML validation for an XML parse rule that calls other XML parse rules, you do not need to enable validation on the called rules. By the time a called rule runs, the entire XML document is validated against the DTD or XSD.
When validation fails, the system adds page messages to the destination clipboard page containing the parsed output, so that page cannot be saved. Optionally if desired, a Java exception can occur.
Field |
Description |
Validate |
Select:
|
When Rule |
If the
Validate field is set to
Enter the second key to the rule — the When Name. To find the when condition rule at runtime, the system uses the Applies To key part of this parse rule as the Applies To key part of the when condition rule. |
Validation Mode |
Specify the type of validation:
|
URL for XSD File |
If you selected |
Error Report |
Specify how Process Commander reports validation errors:
|