add xml as part of the error message