observing HTML rules when converting to XML

Hello,

Converting an HTML file to XML, I noticed that Tidy relocates bits of
markup trying to be HTML compliant. In the case at hand, it removes <meta>
elements from within <td> elements and puts the former at the top of the
output file. The comment is: "Warning: <meta> isn't allowed in <td>
elements".

But it's XML I'm converting to, so why should it care about what HTML
allows or not? Is this a bug, or a feature ( ;-) ), please?

Thanks,

   Piotr

Received on Tuesday, 4 February 2003 19:25:34 UTC