<?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>102</bug_id>
          
          <creation_ts>2002-12-02 16:22:30 +0000</creation_ts>
          <short_desc>serialize_table may emit invalid XHTML</short_desc>
          <delta_ts>2002-12-03 02:03:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>check</component>
          <version>0.6.1</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/www-validator/2002Dec/0011.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>0.6.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ville Skyttä">ville.skytta</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>252</commentid>
    <comment_count>0</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2002-12-02 16:22:30 +0000</bug_when>
    <thetext>serialize_table will emit invalid XHTML if the passed-in table has no rows. 
Fixing it to just &quot;return ()&quot;, ie. an empty list if no rows given seems obvious,
but I haven&apos;t checked if it has side effects.  And that fix is 0.6-branch
specific, dunno ATM if the new template code is affected.

Reported by Nick Waterman in
&lt;http://lists.w3.org/Archives/Public/www-validator/2002Dec/0011.html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>255</commentid>
    <comment_count>1</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2002-12-02 21:03:51 +0000</bug_when>
    <thetext>The fix for Bug #101 also takes care of this. It is a bug if &amp;serialize_table is
ever called without any rows in the passed in table.

Besides, the template code makes this issue moot.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>