fix rexml parsing error