Global Data Validation Rules

Global Data XML file must be configured in BTT deployment XML file, otherwise, it is not validated. Following is the code sample:
<kColl id="data">
			<field id="extFile" value="data.xml" />
			<field id="initializer"
				value="com.ibm.btt.base.DataInitializer" />
Following are the Global Context Validation Rules:
  1. Validates if the ID is unique within the parent node.

    Following screen capture shows the validation result:

    Screen capture showing the validation result

  2. Validates if the refType exists in BTT global type XML file or not.

    Following screen capture shows the validation result:

    Screen capture showing the validation result

  3. Validates if the refData element exists or not. The element referenced by refData can be <data>, <field>, <kColl>, <iColl>, and <bColl>.

    Following screen capture shows the validation result:

    Screen capture showing the validation result

  4. Validates if the complicated refData element exists or not. The multiple level of reference ID is validated.

    Following screen capture shows the validation result:

    Screen capture showing the validation result