[ 
https://issues.apache.org/jira/browse/HADOOP-16749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012276#comment-17012276
 ] 

Jonathan Turner Eagles commented on HADOOP-16749:
-------------------------------------------------

[~ste...@apache.org], if you're still +1 on this patch, I will commit and 
cherry-pick to all relevant lines.

> Configuration parsing of CDATA values are blank
> -----------------------------------------------
>
>                 Key: HADOOP-16749
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16749
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Jonathan Turner Eagles
>            Assignee: Daryn Sharp
>            Priority: Major
>         Attachments: HADOOP-16749.002.patch, HADOOP-16749.patch
>
>
> When using CDATA. CDATA elements are skipped by the parser.
> In fact someone on stack overflow was asking this same question a few months 
> ago.
> https://stackoverflow.com/questions/57829034/why-is-apache-hadoop-configuration-module-ignores-cdata
> {code}
>   <property>
>     <name>test.cdata</name>
>     <value>hello <![CDATA[world]]></value>
>   </property>
> {code}
> conf.get("test.cdata") parses as 'hello ' instead of 'hello world'



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to