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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0-beta
    • 2.6.0
    • None
    • None

    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.001.patch
          9 kB
          Colin McCabe
        2. HDFS-7309.002.patch
          10 kB
          Colin McCabe
        3. HDFS-7309.patch
          1 kB
          Ravi Prakash

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: