<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>7201</bug_id>
          
          <creation_ts>2009-08-03 13:04:39 +0000</creation_ts>
          <short_desc>GIF/JPEG and UTF-8 validation error messges may end up with &quot;null&quot;.</short_desc>
          <delta_ts>2009-08-03 15:43:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>mobileOK Basic checker</product>
          <component>Java Library</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="fd">fd</reporter>
          <assigned_to name="fd">fd</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26190</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-08-03 13:04:39 +0000</bug_when>
    <thetext>Errors returned when some content is not valid UTF-8 or is not a valid GIF/JPEG image may end up with a &quot;null&quot; string appended to the end of the regular message as in:

&lt;imageInfo type=&quot;image/gif&quot;&gt;
 &lt;validity valid=&quot;false&quot;&gt;
  &lt;error&gt;
   &lt;info&gt;Wrong application extension block sizenull&lt;/info&gt;
   &lt;position type=&quot;BYTE&quot;&gt;
    &lt;byte&gt;16&lt;/byte&gt;
   &lt;/position&gt;
  &lt;/error&gt;
 &lt;/validity&gt;
 &lt;transparency transparent=&quot;false&quot;/&gt;
 &lt;actualDimensions height=&quot;0&quot; width=&quot;0&quot;/&gt;
&lt;/imageInfo&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26204</commentid>
    <comment_count>1</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-08-03 15:43:22 +0000</bug_when>
    <thetext>Method that wraps Jhove error messages updated to handle the case when the error submessage is null.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>