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:
- Validates if the ID is unique within the parent node.
Following screen
capture shows the validation result:
- Validates if the refType exists in BTT global type XML file or not.
Following
screen capture shows the validation result:
- 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:
- Validates if the complicated refData element exists or not. The multiple
level of reference ID is validated.
Following screen capture shows the validation
result: