Update xml.go, xml_test.go is outdated.