This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7201 - GIF/JPEG and UTF-8 validation error messges may end up with "null".
Summary: GIF/JPEG and UTF-8 validation error messges may end up with "null".
Status: RESOLVED FIXED
Alias: None
Product: mobileOK Basic checker
Classification: Unclassified
Component: Java Library (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 trivial
Target Milestone: ---
Assignee: fd
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-03 13:04 UTC by fd
Modified: 2009-08-03 15:43 UTC (History)
0 users

See Also:


Attachments

Description fd 2009-08-03 13:04:39 UTC
Errors returned when some content is not valid UTF-8 or is not a valid GIF/JPEG image may end up with a "null" string appended to the end of the regular message as in:

<imageInfo type="image/gif">
 <validity valid="false">
  <error>
   <info>Wrong application extension block sizenull</info>
   <position type="BYTE">
    <byte>16</byte>
   </position>
  </error>
 </validity>
 <transparency transparent="false"/>
 <actualDimensions height="0" width="0"/>
</imageInfo>
Comment 1 fd 2009-08-03 15:43:22 UTC
Method that wraps Jhove error messages updated to handle the case when the error submessage is null.