SYMPTOM:
After executing an XDA XQuery report, the following error is thrown:

Sample Code/Error
QueryEngine encountered error: ZorbaSystemException failed. Zorba engine encountered a system error. Error type: XQuery Engine error. Loader parsing error: Opening and ending tag mismatch: XXX line X and XXX.
This error may be thrown for a report that was previously running correctly.
CAUSE:
This error means there is a syntax problem in the xml file to which the XDA XQuery report is connecting to get data. In particular, this error message means that the opening and ending tags of an XML node don't match. An example of such an incorrect construction in an XML file is shown below:
<?xml version="1.0" encoding="ISO-8859-1"?>
<customer name="Company Inc">
<machine configuration="SERVER">
<name>WAS-SERVER</name>
<version>Strategy 921</version>
<os>Windows 2008</os>
</customer>
</customer>
ACTION:
Make sure that all nodes are correctly constructed and have matching opening and ending tags.