XML can be used to represent complex data structures. JXUnit can then transform these structures into test objects. What we want to do is to convert this structure into a List containing several String objects. A list of String objects Holds the subordinate dataItems dataItem java.lang. As before, we need to use the Quick4 utility, qjml2qiml, to convert the QJML file into a useable form.
Lets name the output file mySchema.qiml.
The set step uses mySchema.qiml to convert the content of myData.xml into an object named input. As before, the eval step invokes DummyTestStep to perform the actual test. The isEqual step first converts the output object into an XML string using the mySchema.qiml binding schema. Then it compares that string to the content of the myData.xml file. If you actually ran the above test, chances are it failed.