invalid XML should be a server error

changed 400 error to 500 error.