Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7309

XMLUtils.mangleXmlString doesn't seem to handle less than sign

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-beta
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      My expectation was that "<someElement>" + XMLUtils.mangleXmlString(
      "Containing<ALessThanSign") + "</someElement>" would be a string acceptable to a SAX parser. However this was not true.

        Attachments

        1. HDFS-7309.002.patch
          10 kB
          Colin McCabe
        2. HDFS-7309.001.patch
          9 kB
          Colin McCabe
        3. HDFS-7309.patch
          1 kB
          Ravi Prakash

          Activity

            People

            • Assignee:
              cmccabe Colin McCabe
              Reporter:
              raviprak Ravi Prakash
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: