XML error handling support for mappers