<?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>6373</bug_id>
          
          <creation_ts>2009-01-06 14:57:58 +0000</creation_ts>
          <short_desc>CHARACTER_ENCODING test may crash when markup contains two meta &quot;Content-Type&quot;</short_desc>
          <delta_ts>2009-01-07 10:00:35 +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>Other</rep_platform>
          <op_sys>All</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>minor</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>22950</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-01-06 14:57:58 +0000</bug_when>
    <thetext>The XSLT may crash with a:
 Error on line 91 of file:/home/fd/w3c/dev/2007/mobileok-ref/src/org/w3c/mwi/mobileok/basic/xslt/CharacterEncodingSupportTest.xsl:
  XPTY0004: A sequence of more than one item is not allowed as the first argument of
  lower-case() (&quot;text/html; charset=windows-125...&quot;, &quot;text/html; charset=utf-8&quot;)

... message if the moki representation contains more than one meta &quot;content-type&quot; element defined in different parts of the markup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22969</commentid>
    <comment_count>1</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-01-07 10:00:35 +0000</bug_when>
    <thetext>This bug occurs because the mobileOK Checker tries to run the tests whenever possible, and thus sometimes on a tidied version of the markup that is still not valid XHTML.

The tests must be more fault-tolerant and in particular should not expect that elements that should appear only once in an XHTML page actually appear only once...

I updated CharacterEncodingSupportTest.xsl consequently as well as a couple of other XSLT-based tests.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>