[ 
https://issues.apache.org/jira/browse/SPARK-47218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yousof Hosny updated SPARK-47218:
---------------------------------
    Summary: XML: Skip rowTag in a comment  (was: XML: Skip rowTag in a 
comment,)

> XML: Skip rowTag in a comment
> -----------------------------
>
>                 Key: SPARK-47218
>                 URL: https://issues.apache.org/jira/browse/SPARK-47218
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core
>    Affects Versions: 4.0.0
>            Reporter: Yousof Hosny
>            Priority: Major
>
> The following returns rows that was within comments:
> display(spark.read.xml(write("""<root> <ROW><a>1</a></ROW> 
> <!--<ROW><a>2</a></ROW>--> </root>“"")))
>  
> This has been reported before:[!https://github.com/fluidicon.png!How to 
> Ignore XML comments like this · Issue #208 · 
> databricks/spark-xml|https://github.com/databricks/spark-xml/issues/208]
> {{}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to