Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16749

Configuration parsing of CDATA values are blank

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0, 2.9.3, 3.1.4, 3.2.2, 2.10.1
    • conf
    • None

    Description

      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

        <property>
          <name>test.cdata</name>
          <value>hello <![CDATA[world]]></value>
        </property>
      

      conf.get("test.cdata") parses as 'hello ' instead of 'hello world'

      Attachments

        1. HADOOP-16749.002.patch
          3 kB
          Jonathan Turner Eagles
        2. HADOOP-16749.patch
          3 kB
          Daryn Sharp

        Activity

          People

            daryn Daryn Sharp
            jeagles Jonathan Turner Eagles
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: