XMLTransformer: When parsing fails, and marking the edition as parsing also fails, do log the stacktrace.
- Also improve the error message.