You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (Jira)" <ji...@apache.org> on 2019/12/05 15:24:00 UTC

[jira] [Updated] (HADOOP-16749) Configuration parsing of CDATA values are blank

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

Daryn Sharp updated HADOOP-16749:
---------------------------------
    Status: Patch Available  (was: Open)

> 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.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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org