Validating XML

To validate the XML files, do the following:
  1. Create a dsetype.xml file, and enter the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <dsetype.xml xmlns="http://www.ibm.com/btt/dse">
        <type_error id="String" implClass="java.util.ArrayList">
            <StringDescriptor id="typeDefault">
               <param id="initialValue" value="null"/>
               <Converter convTypes="default" implClass="com.ibm.btt.base.types.ext.StringConverter"/>
               <Validator impleClass="com.ibm.btt.base.types.ext.StringValidator"/>
            </StringDescriptor>
        </type>
    </dsetype.xml>
  2. Right-click the dsetype.xml, and select Validate. The BTT Validation Tool validates the file, and finds out that it is not a well-formed XML file: <type_error> and </type> are not a pair of well-formed XML elements. The BTT Validation Tool reports this error and marks the location of the error and the error text.
  3. 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.