<?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>6387</bug_id>
          
          <creation_ts>2009-01-12 08:44:59 +0000</creation_ts>
          <short_desc>META_HTTP_EQUIV-2 warning returned incorrectly in MainDocumentTest</short_desc>
          <delta_ts>2009-01-13 14:11:46 +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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="fd">fd</reporter>
          <assigned_to name="Abel Rionda">abel.rionda</assigned_to>
          <cc>roland</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23009</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-01-12 08:44:59 +0000</bug_when>
    <thetext>Raised by Roland in:
http://lists.w3.org/Archives/Public/public-mobileok-checker/2009Jan/0000.html

The XPath:
/moki/primaryDoc/retrieval/HTTPResponse[last()]/header[@name=$meta_equiv]/@value

... does not match header fields represented as:

&lt;header name=&quot;content-type&quot;&gt;
 &lt;element name=&quot;application/xhtml+xml&quot;&gt;
  &lt;parameter name=&quot;charset&quot; value=&quot;utf-8&quot;/&gt;
 &lt;/element&gt;
 &lt;/header&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23010</commentid>
    <comment_count>1</comment_count>
    <who name="Roland G">roland</who>
    <bug_when>2009-01-12 09:15:20 +0000</bug_when>
    <thetext>element and parameter check is added, if the attribute value doesn&apos;t exist.

remove spaces when comparing the strings:
text/html; utf-8 = text/html;utf-8
               ^^^
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23032</commentid>
    <comment_count>2</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-01-13 14:11:46 +0000</bug_when>
    <thetext>I updated the fix to take into account the most generic case:
 val1=valval1;param1=paramval1,val2,val3;param3

... which would be rendered in the moki as:

 &lt;header name=&quot;header-name&quot;&gt;
  &lt;element name=&quot;val1&quot; value=&quot;valval1&quot;&gt;
   &lt;parameter name=&quot;param1&quot; value=&quot;paramval1&quot;/&gt;
  &lt;/element&gt;
  &lt;element name=&quot;val2&quot; /&gt;
  &lt;element name=&quot;val3&quot;&gt;
   &lt;parameter name=&quot;param3&quot; /&gt;
  &lt;/element&gt;
 &lt;/header&gt;

I don&apos;t think it matches anything in practice, but it&apos;s consistent with the code that may be generated by the ProcessorResults Java class.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>