[xml] Omitted </tr> tag breaks tables.



Hi,

I found this bug when debugging the mozilla.org status
page. The sample document is missing the </tr> tag
and this makes gnome-xml move the text inside the
table tag.
--------------------------------------------------------
<html>
<body>

<table border="4">
<tr>
<td>A single cell</td>
<!-- The closing tr tag is missing -->
</table>

This text should come after the table and not inside it.

</body>
</html>
----------------------------------------------------------------
This becomes this when parsed:
----------------------------------------------------------------
<html><body><table border="4"><tr>
<td>A single cell</td>
<!-- The closing tr tag is missing -->

This text should come after the table and not inside it.


</tr></table></body></html>
----------------------------------------------------------------

btw, I'm using the latest CVS version.

/ Jonas
-- 
Jonas Borgström                  jonas codefactory se
CodeFactory AB                   http://www.codefactory.se/
Office: +46 (0)90 71 86 10       Cell: +46 (0)70 248 89 58




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]