XSD Validator
Description
XSD Validator is a step in the Validation Plugin for Process Studio Workflows. This step validates XML source (file or input field) against XSD (XML Schema Definition). You need to specify the XSD source that describes how XML file should look like and the XML you want to validate for layout.
Configurations
No. | Field Name | Description |
---|---|---|
1 | Step name | Specify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow. |
XML Source: | ||
2 | XML source is a file | Enable this checkbox if the XML file is defined as a filename in the XML field |
3 | XML field | Enable this checkbox if the field to read that contains the XML filename or the XML content itself. |
Output fields: | ||
4 | Result fieldname | Specify the name of the result field |
5 | Output String field | Enable this checkbox if you want to specify specific messages after validation: - Display if XML is valid: the message if the XML was valid - Display if XML is not valid: the message if the XML wasn't valid |
6 | Add validation msg in output | Enable this check box if you want to add a validation message in the output |
7 | Validation msg field | Specify the name of the validation message field |
XML schema definition: | ||
8 | XSD source | Select one of these options: 1. The XSD source is a file, let me specify the filename (specify below in the XSD filename field). 2. The XSD source is a file, defined in a field (specify below in the XSD filename field). 3. The XSD source is defined inside the source XML. |
9 | XSD Filename | Specify the filename if option 1 is chosen above. Click Browse button to search the file. |
10 | XSD Filename Field | Specify the field containing the file if option 2 is chosen as XSD source above. |