Setting up the Grammar Validator

The Grammar Validator for the Bank Transformation Toolkit is a plug-in. Grammar Validator allows you to validate your definition files with a graphical interface.

Prerequisites to use the Grammar Validator:

To use the Grammar Validator, follow these steps:

  1. Start IBM Rational Application Developer.
  2. Create a simple project.
  3. Create a folder to contain the XML files, and copy your XML files to this folder.
  4. Click Window > Preferences....
  5. In the dialog box that pops up, select BTT > Validator in the left panel.
  6. In the right panel, the Schematron (SCH) files path are set automatically.
  7. Click OK.
  8. Right-click the XML file, and select Validate.
  9. The error will be shown in the editor if there are any.