hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Prakash (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-7287) The OfflineImageViewer (OIV) can output invalid XML depending on the filename
Date Wed, 29 Oct 2014 15:28:34 GMT

     [ https://issues.apache.org/jira/browse/HDFS-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ravi Prakash updated HDFS-7287:
-------------------------------
    Attachment: testXMLOutput

You can see that xmllint fails on this file. (This is the string variable 'xml' in testPBImageXmlWriter()
)

> The OfflineImageViewer (OIV) can output invalid XML depending on the filename
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-7287
>                 URL: https://issues.apache.org/jira/browse/HDFS-7287
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>         Attachments: HDFS-7287.1.patch, HDFS-7287.patch, testXMLOutput
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message