Parse XML form - Completing the Validate tab
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 Version 5.4 format. See Parse XML form — Completing the Mapping tab.
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
When , specify the when condition rule to use to determine whether to use schema validation before executing the other aspects of this parse rule.
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
XSD
in the Validation Mode field, enter the URL of an XSD document to validate against. The URL you enter must be accessible to
Pega Platform
at run time.
|
Error Report |
Specify how
Pega Platform
reports validation errors:
|