[XML Parser] Insert the error message block when stopping parsing and an error occurred