[
https://issues.apache.org/jira/browse/WICKET-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kaspar Fischer reopened WICKET-1496:
------------------------------------
Thanks for the fix.
Unfortunately, another validation issue shows up: If there is no markup between
<tfoot> and </tfoot>, the table markup does not validate.
Here is an example that only validates if you uncomment the comment in it (see
validator.w3.org):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Test</title>
</head>
<body>
<table>
<thead>
<tr>
<th></th>
<th></th>
</tr>
</thead>
<tfoot>
<!--
<tr>
<td></td>
<td></td>
</tr>
-->
</tfoot>
<tbody>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</body>
</html>
It seems, <tfoot> needs to be hidded if it has no content.
> DataTable.html does not validate (HTML 4.01/XHTML-Strict)
> ---------------------------------------------------------
>
> Key: WICKET-1496
> URL: https://issues.apache.org/jira/browse/WICKET-1496
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.3.3
> Reporter: Kaspar Fischer
> Assignee: Gerolf Seitz
> Priority: Trivial
> Fix For: 1.3.4, 1.4-M1
>
>
> According to http://www.w3.org/TR/html401/struct/tables.html#h-11.2.3,
> <tfoot>..</tfoot> must come before the start of <tbody>. The has not changed
> for XHTML.
> Proposed fix: just move <tfoot> up after <thead> and before <tbody>.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.