Update: this was caused by a bug in libxml2, which has in the meantime been reported and fixed. https://bugzilla.gnome.org/show_bug.cgi?id=795299
I have an HTML page with two tables, one of which has a row with mixed header and data cells, the second having only data cells:
<html>
<head>
<title>Table test page</title>
</head>