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

The OfflineImageViewer (OIV) can output invalid XML depending on the filename

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      If the filename contains a character which is invalid in XML, TextWriterImageVisitor.write() or PBImageXmlWriter.o() prints out the string unescaped. For us this was the character 0x0

        Attachments

        1. testXMLOutput
          7 kB
          Ravi Prakash
        2. HDFS-7287.patch
          5 kB
          Ravi Prakash
        3. HDFS-7287.2.patch
          4 kB
          Ravi Prakash
        4. HDFS-7287.1.patch
          4 kB
          Ravi Prakash

          Activity

            People

            • Assignee:
              raviprak Ravi Prakash
              Reporter:
              raviprak Ravi Prakash
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: