From: Kristian Hogsberg Kristensen (hogsberg@daimi.au.dk)
Date: Sun Oct 10 1999 - 18:56:06 EDT
Hi,
Here's some more feedback on the HTML parser: when parsing the
following
<html>
<body>
<ol>
<li> hello
</ol></body>
</html>
I get "htmlParseEndTag: unexpected close for tag OL </ol></body>".
I've traced it to htmlParseContent: the test for wether current
element has been autoclosed (line 2184: if (currentNode != ctxt->name)
...) should be moved to after the four cases dealing with the element
content.
In the example above, parsing the li element autocloses the ol
element. Then the while loop terminates since the parser sees "</"
from "</body>", and it calls htmlParseEndTag, when it should just
return.
Kristian
---- Message from the list xml@rufus.w3.org Archived at : http://rufus.w3.org/veillard/XML/messages to unsubscribe: echo "unsubscribe xml" | mail majordomo@rufus.w3.org
This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:49 EDT