Configuring a Validate XML activity

Perform the steps in this section to configure a Validate XML activity.

Procedure

  1. Click Configure from the Checklist.
  2. In the XML Schema field, click Browse. The Browse For Schema Type Element dialog box displays. Select the XML schema to parse against during run time. You must select a root or global element and not a schema fragment. The selected XML schema defines the nodes that make up the InputXml input parameter in the Map Inputs task.
  3. Select or clear the Continue Parsing XML Data after First Recoverable Error check box. (This check box defines the run-time behavior when a recoverable error occurs).

Results

If the Continue Parsing XML Data after First Recoverable Error check box is selected and only recoverable errors and warnings occur but no fatal errors, the processing of the Validate XML activity completes after the first recoverable error and the value false is returned from the success output parameter. Only the first error is returned in the errors output parameter. The activities in the orchestration after the Validate XML activity are processed.

If the Continue Parsing XML Data after First Recoverable Error check box is cleared and only recoverable errors and warnings occur but no fatal errors, the processing of the Validate XML activity processes all the recoverable errors and the value false is returned from the success output parameter. Messages about all the recoverable errors are returned in the repeating Message node of the errors output parameter. The activities in the orchestration after the Validate XML activity are processed.




Feedback | Notices


Timestamp icon Last updated: Tuesday, 27 September 2016


https://www.ibm.com/support/knowledgecenter/en/SS3LC4_7.5.3/com.ibm.wci.doc/Configure_Validate_XML_Activity.html