databricks / spark-xml

XML data source for Spark SQL and DataFrames
Apache License 2.0
499 stars 226 forks source link

Problem with extra line breaks inside tags during writing XML file #656

Closed VladIsLuve closed 1 year ago

VladIsLuve commented 1 year ago

Hi. I have a problem with writing XML file. In the resulting file there are some additional line breaks inside tags. They can look like this:

        <tag>content</
tag>

or like this

        <
tag>content</tag>

My software info: Spark 2.4.0, spark-xml_2.11-0.5.0

srowen commented 1 year ago

That sounds like an issue that was fixed a long time ago - you have a very old version! use 0.16.0