Setting up the Validation Tool

To set up the Validation Tool, do the following:
  • Start IBM® Rational® Application Developer or IBM WebSphere® Integration Developer.
  • Create a simple project.
  • Create a folder to contain the XML files, and copy your XML files to this folder.
  • Click Window > Preferences....
  • In the dialog box that pops up, select BTT Validator in the left panel.
  • In the right panel, the XML Schema Definition (XSD) files path and the Schematron (SCH) files path are set automatically. In the Definition files path (server-side) field, click Browse, and select the folder which contains your XML files.
  • Click OK.
  • In the Project Explorer view, right-click the XML file, and select Enable BTT Model.
  • Right-click the XML file, and select Validate.
  • The error will be shown in the editor if there are any.