Rollback on problematic xdoc file