[ https://issues.apache.org/jira/browse/SPARK-47218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-47218. ---------------------------------- Fix Version/s: 4.0.0 Resolution: Fixed Issue resolved by pull request 45325 [https://github.com/apache/spark/pull/45325] > XML: Ignore commented Row Tags in XML tokenizer > ----------------------------------------------- > > 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 > Assignee: Yousof Hosny > Priority: Major > Labels: pull-request-available > Fix For: 4.0.0 > > > The following returns rows that was within comments: > {{}} > {code:java} > // BUG: rowTag in comment -- incorrectly processed > display(spark.read.xml(write("""<root> <ROW><a>1</a></ROW> > <!--<ROW><a>2</a></ROW>--> </root>"""))){code} > {{}} > 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