This document has:
<table> <thead><tr><td>...</td></tr></thead> <tbody><tr><td>...</td></tr></tbody> <tfoot><tr><td>...</td></tr></tfoot> </table>
The correct order is thead, tfoot, tbody, so this is invalid: