barsha_sharma
New Contributor II

UPDATE:

It is now possible to read xml files directly: https://docs.databricks.com/en/query/formats/xml.html 

Make sure to update your Databricks Runtime to 14.3 and above, and remove the spark-xml maven library from your cluster.