Parse XML form
|
5l5 Use the XML 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.
When you enable XML validation for a Parse XML rule that calls other Parse XML 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. B-17373
Field |
Description |
Schema URL |
If the Validate field is not You can enter either an http: or file: url, such as: Forum BURND 1135 http://myserver/myproject/myschema.xsd |
Update Tree Content | Click to update the contents of the tree control based on a new schema. |
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. B-19872 validation |
Validation Mode |
Specify the type of validation:
|
Error Report |
Specify how Process Commander reports validation errors:
|
Optional. Used when the Substitution field on the Node tab of the Mapping properties panel is set to Type to set the target Page Class.
Field |
Description |
Type Name |
Enter the local name of the desired Type Name to be substituted. |
Namespace URI |
Enter the Namespace URI of the Type Name. |
Class Name |
Specify the class from which to be used for substitution. |
Optional. Used when the Substitution field on the Node tab of the Mapping properties panel is set to Element to set the target Page Class.
Field |
Description |
Element Name |
Enter the local name of the desired element to be substituted. |
Namespace URI |
Enter the Namespace URI of the element Element Name. |
Class Name |
Specify the class from which to be used for substitution. |