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 102 - serialize_table may emit invalid XHTML
Summary: serialize_table may emit invalid XHTML
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.6.1
Hardware: Other other
: P3 minor
Target Milestone: 0.6.2
Assignee: Terje Bless
QA Contact:
Depends on:
Reported: 2002-12-02 16:22 UTC by Ville Skyttä
Modified: 2002-12-03 02:03 UTC (History)
0 users

See Also:


Description Ville Skyttä 2002-12-02 16:22:30 UTC
serialize_table will emit invalid XHTML if the passed-in table has no rows. 
Fixing it to just "return ()", ie. an empty list if no rows given seems obvious,
but I haven'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
Comment 1 Terje Bless 2002-12-02 21:03:51 UTC
The fix for Bug #101 also takes care of this. It is a bug if &serialize_table is
ever called without any rows in the passed in table.

Besides, the template code makes this issue moot.