Fix if it not possible to convert wkt into xml.