Fix a regression in XML reports introduced by #89
Fix a regression in XML reports introduced by #89

The changes in #89 to use an XML framework to generate test reports
introduced a bug caused by variable name collisions in the
_print_error() method. This resolves that bug and corrects the
docstring of the method.

ros/ros,ros/ros,ros/ros