Only catch xml exception