Class reference validation is used to validate whether these classes
are within the CLASSPATH of the current project. It is semantic validation.
To
validate the class reference, do the following:
- Create dsetype.xml and enter the following:
<?xml version="1.0" encoding="UTF-8"?>
<dsetype.xml xmlns="http://www.ibm.com/btt">
<type id="String" implClass="com.ibm.btt.base.DataField">
<StringDescriptor id="typeDefault">
<param id="typeDefault">
<Converter convTypes="default" implClass="com.ibm.btt.base.types.ext.StringConverter"/>
<Validator implClass="com.ibm.btt.base.types.ext.StringValidator"/>
</StringDescriptor>
</type>
</dsetype.xml>
- Right-click the dsetype.xml, and select Validate.
The BTT Validation Tool validates the file and finds out that in the value
of the attribute implClass is com.ibm.btt.base.DataField,
and it is not contained in the CLASSPATH of the project. The BTT Validation
Tool reports this error and marks the location of the error and the error
text.
- In the Problems view, the error is also displayed. You can double-click
the error, and then the error in the XML file is highlighted.