Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

You can use an XML Validator to validate the whole XML file or parts of it. However, this feature is more appropriate while validating portions of XML streams. For validation, you need to provide the Xpath of the elements of the XML file and the path of the XSD against which the schema will validate that XML file. 


Steps to create a XML Validator activity

  1. On the Adeptia Suite homepage, go to Configure > Services > Schema and then click XML Validator. The XML Validator screen is displayed (see Figure 276).

    Manage XML Validator

  2. Click the Create New link. This action will display you the Create XML Validator screen.

    Create XML Validator

  3. Enter the name and description of the new XML Validator activity in the Name and Description textboxes respectively.
  4. If you want to validate the Sub XML, check the Validate Sub XML checkbox.
  5. In the Enter XPath textbox, enter the XPath of the XML file that you want to validate.
  6. In the XSD File Path textbox, enter the path of that XSD file, which the schema will use to validate against the XML file.

    To learn more about Advanced Properties refer to the Changing Advanced Properties section.

  7. Click the Save button.

After creating the XML Validator Activity, you can place it after the  source activity. If the file does not match the XSD, the XML Validator activity will fail and the process flow will be aborted.

  • No labels