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 "Jonathan Turner Eagles (Jira)" <ji...@apache.org> on 2019/12/05 14:47:00 UTC

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

Jonathan Turner Eagles created HADOOP-16749:
-----------------------------------------------

             Summary: 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


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