add support for xml validation failure reason