- HTMLparser.c : HTML parsing still sucks ... trying to deal

with madness
- result/HTML/ : this modified the result of the regression tests
  a lot.
Daniel
This commit is contained in:
Daniel Veillard 2001-04-24 12:51:09 +00:00
parent 122376b8ef
commit 56098d4f35
11 changed files with 195 additions and 232 deletions

View File

@ -1,3 +1,10 @@
Tue Apr 24 14:41:25 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* HTMLparser.c : HTML parsing still sucks ... trying to deal
with madness
* result/HTML/ : this modified the result of the regression tests
a lot.
Tue Apr 24 14:10:38 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* entities.c: xmlEncodeEntitiesReentrant fixed a few accesses

View File

@ -346,6 +346,7 @@ htmlSkipBlankChars(xmlParserCtxtPtr ctxt) {
* Start Tag: 1 means the start tag can be ommited
* End Tag: 1 means the end tag can be ommited
* 2 means it's forbidden (empty elements)
* 3 means the tag is stylistic and should be closed easilly
* Depr: this element is deprecated
* DTD: 1 means that this element is valid only in the Loose DTD
* 2 means that this element is valid only in the Frameset DTD
@ -359,17 +360,17 @@ htmlElemDesc html40ElementTable[] = {
{ "address", 0, 0, 0, 0, 0, 0, "information on author " },
{ "applet", 0, 0, 0, 0, 1, 1, "java applet " },
{ "area", 0, 2, 2, 1, 0, 0, "client-side image map area " },
{ "b", 0, 0, 0, 0, 0, 0, "bold text style" },
{ "b", 0, 3, 0, 0, 0, 0, "bold text style" },
{ "base", 0, 2, 2, 1, 0, 0, "document base uri " },
{ "basefont", 0, 2, 2, 1, 1, 1, "base font size " },
{ "bdo", 0, 0, 0, 0, 0, 0, "i18n bidi over-ride " },
{ "big", 0, 0, 0, 0, 0, 0, "large text style" },
{ "big", 0, 3, 0, 0, 0, 0, "large text style" },
{ "blockquote", 0, 0, 0, 0, 0, 0, "long quotation " },
{ "body", 1, 1, 0, 0, 0, 0, "document body " },
{ "br", 0, 2, 2, 1, 0, 0, "forced line break " },
{ "button", 0, 0, 0, 0, 0, 0, "push button " },
{ "caption", 0, 0, 0, 0, 0, 0, "table caption " },
{ "center", 0, 0, 0, 0, 1, 1, "shorthand for div align=center " },
{ "center", 0, 3, 0, 0, 1, 1, "shorthand for div align=center " },
{ "cite", 0, 0, 0, 0, 0, 0, "citation" },
{ "code", 0, 0, 0, 0, 0, 0, "computer code fragment" },
{ "col", 0, 2, 2, 1, 0, 0, "table column " },
@ -381,9 +382,9 @@ htmlElemDesc html40ElementTable[] = {
{ "div", 0, 0, 0, 0, 0, 0, "generic language/style container"},
{ "dl", 0, 0, 0, 0, 0, 0, "definition list " },
{ "dt", 0, 1, 0, 0, 0, 0, "definition term " },
{ "em", 0, 0, 0, 0, 0, 0, "emphasis" },
{ "em", 0, 3, 0, 0, 0, 0, "emphasis" },
{ "fieldset", 0, 0, 0, 0, 0, 0, "form control group " },
{ "font", 0, 0, 0, 0, 1, 1, "local change to font " },
{ "font", 0, 3, 0, 0, 1, 1, "local change to font " },
{ "form", 0, 0, 0, 0, 0, 0, "interactive form " },
{ "frame", 0, 2, 2, 1, 0, 2, "subwindow " },
{ "frameset", 0, 0, 0, 0, 0, 2, "window subdivision" },
@ -396,7 +397,7 @@ htmlElemDesc html40ElementTable[] = {
{ "head", 1, 1, 0, 0, 0, 0, "document head " },
{ "hr", 0, 2, 2, 1, 0, 0, "horizontal rule " },
{ "html", 1, 1, 0, 0, 0, 0, "document root element " },
{ "i", 0, 0, 0, 0, 0, 0, "italic text style" },
{ "i", 0, 3, 0, 0, 0, 0, "italic text style" },
{ "iframe", 0, 0, 0, 0, 0, 1, "inline subwindow " },
{ "img", 0, 2, 2, 1, 0, 0, "embedded image " },
{ "input", 0, 2, 2, 1, 0, 0, "form control " },
@ -420,17 +421,17 @@ htmlElemDesc html40ElementTable[] = {
{ "param", 0, 2, 2, 1, 0, 0, "named property value " },
{ "pre", 0, 0, 0, 0, 0, 0, "preformatted text " },
{ "q", 0, 0, 0, 0, 0, 0, "short inline quotation " },
{ "s", 0, 0, 0, 0, 1, 1, "strike-through text style" },
{ "s", 0, 3, 0, 0, 1, 1, "strike-through text style" },
{ "samp", 0, 0, 0, 0, 0, 0, "sample program output, scripts, etc." },
{ "script", 0, 0, 0, 0, 0, 0, "script statements " },
{ "select", 0, 0, 0, 0, 0, 0, "option selector " },
{ "small", 0, 0, 0, 0, 0, 0, "small text style" },
{ "small", 0, 3, 0, 0, 0, 0, "small text style" },
{ "span", 0, 0, 0, 0, 0, 0, "generic language/style container " },
{ "strike", 0, 0, 0, 0, 1, 1, "strike-through text" },
{ "strong", 0, 0, 0, 0, 0, 0, "strong emphasis" },
{ "strike", 0, 3, 0, 0, 1, 1, "strike-through text" },
{ "strong", 0, 3, 0, 0, 0, 0, "strong emphasis" },
{ "style", 0, 0, 0, 0, 0, 0, "style info " },
{ "sub", 0, 0, 0, 0, 0, 0, "subscript" },
{ "sup", 0, 0, 0, 0, 0, 0, "superscript " },
{ "sub", 0, 3, 0, 0, 0, 0, "subscript" },
{ "sup", 0, 3, 0, 0, 0, 0, "superscript " },
{ "table", 0, 0, 0, 0, 0, 0, "&#160;" },
{ "tbody", 1, 0, 0, 0, 0, 0, "table body " },
{ "td", 0, 0, 0, 0, 0, 0, "table data cell" },
@ -440,8 +441,8 @@ htmlElemDesc html40ElementTable[] = {
{ "thead", 0, 1, 0, 0, 0, 0, "table header " },
{ "title", 0, 0, 0, 0, 0, 0, "document title " },
{ "tr", 0, 0, 0, 0, 0, 0, "table row " },
{ "tt", 0, 0, 0, 0, 0, 0, "teletype or monospaced text style" },
{ "u", 0, 0, 0, 0, 1, 1, "underlined text style" },
{ "tt", 0, 3, 0, 0, 0, 0, "teletype or monospaced text style" },
{ "u", 0, 3, 0, 0, 1, 1, "underlined text style" },
{ "ul", 0, 0, 0, 0, 0, 0, "unordered list " },
{ "var", 0, 0, 0, 0, 0, 0, "instance of a variable or program argument" },
};
@ -682,7 +683,16 @@ htmlAutoCloseOnClose(htmlParserCtxtPtr ctxt, const xmlChar *newtag) {
#ifdef DEBUG
xmlGenericError(xmlGenericErrorContext,"htmlAutoCloseOnClose: %s closes %s\n", newtag, ctxt->name);
#endif
} else {
} else if (info->endTag == 3) {
#ifdef DEBUG
xmlGenericError(xmlGenericErrorContext,"End of tag %s: expecting %s\n", name, ctxt->name);
#endif
if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))
ctxt->sax->error(ctxt->userData,
"Opening and ending tag mismatch: %s and %s\n",
newtag, ctxt->name);
ctxt->wellFormed = 0;
} else {
return;
}
if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL))

View File

@ -97,7 +97,8 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0,
</td></tr></tbody></table>
</center></td></tr></tbody></table></td></tr>
</tbody></table>
<table bgcolor="#003399" border="0" cellspacing="6" width="80%"><tbody><tr>
<table bgcolor="#003399" border="0" cellspacing="6" width="80%"><tbody>
<tr>
<td bgcolor="black" valign="top" width="10%"><table border="0" cellpadding="3" cellspacing="0" width="100%"><tbody><tr><td width="100%">
<img height="1" src="doc3_files/spacer.gif" width="111">
<br>
@ -783,7 +784,8 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0,
</td></tr></tbody></table>
</center>
</td>
<td bgcolor="silver" valign="top" width="10%"><center>
<td bgcolor="silver" valign="top" width="10%">
<center>
<p>
<table bgcolor="silver" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td colstart="1"><center>
<!-- <FORM ACTION="/cgi-bin/subscribe.pl" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">
@ -803,15 +805,15 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0,
<!-- <input type="submit" name="npunsubscribe" value="Unsubscribe" style="font-size: xx-small; font-family: Verdana; font-weight: bold; color: #ffffff; background-color: #000000;"> -->
</font>
</form>
<font size="1">
<form action="http://bp6.gamesquad.net/cgi-bin/news/viewnews.cgi?search" method="post">Search news<br>
<font size="1"><form action="http://bp6.gamesquad.net/cgi-bin/news/viewnews.cgi?search" method="post">Search news<br>
<input name="searchstring" size="13">
<br>
<input name="submit" style="BACKGROUND-COLOR: #000000; COLOR: #ffffff; FONT-FAMILY: Verdana; FONT-SIZE: xx-small; FONT-WEIGHT: bold" type="submit" value="Submit">
<br>
<a href="http://bp6.gamesquad.net/cgi-bin/news/viewnews.cgi?newsall">News
archive</a>
</form>
</form></font>
</center></td></tr></tbody></table>
<!-- <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%" BGCOLOR="silver">
<TR>
<TD WIDTH="100%">
@ -855,17 +857,16 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0,
<a href="http://www.goto.com/d/search/ssn/?fromGIF=true" target="_blank"><img align="bottom" border="0" height="90" ismap src="doc3_files/100x90.gif" width="100"></a>
<b><a href="http://www.goto.com/d/search/ssn/?fromGIF=true" target="_blank"></a></b>
<b></b>
</noscript></b>
<b><!-- END GoTo.com Search Box --></b>
<!-- Pricewatch Search Box --><form action="http://www.pricewatch.com/search/search.asp" method="get" target="_Blank">
<center>
<p>
<!-- Pricewatch Search Box --><form action="http://www.pricewatch.com/search/search.asp" method="get" target="_Blank"><center><p>
<b><font color="white" face="ARIAL, HELVETICA" size="1">PC Price
Search<br>
</font></b>
<input maxlength="30" name="criteria" size="10">
<br>
<input name="submit" style="BACKGROUND-COLOR: #000000; COLOR: #ffffff; FONT-FAMILY: Verdana; FONT-SIZE: xx-small; FONT-WEIGHT: bold" type="submit" value="Search">
</p>
</p></center></form>
<!-- Pricewatch Search Box --><a href="http://www.puicorp.com/bp6specials.htm" target="_BLANK"><img src="doc3_files/puibp6.gif"></a>
<br>
<br>
@ -877,9 +878,12 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0,
<br>BP6.COM
Special<br>Code:BP6-hd</font>
</a>
</center>
</td></tr></tbody></table>
<table bgcolor="silver" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%"><tbody><tr><td width="100%"> </td></tr></tbody></table>
</center>
<!-- </TABLE>--><center></center>
</td>
</tr>
<tr><td colspan="3" valign="TOP" height="70"> </td></tr>
<table border="0" width="780"><tbody>
<tr><td width="780"><p align="center">
@ -890,13 +894,7 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0,
<!-- <TR> <TD WIDTH="780"> <P ALIGN="CENTER"><FONT SIZE="1" COLOR="#999999" FACE="Verdana,arial">Site design by Tim Brinkley</FONT> </TD> </TR> -->
</tbody></table>
<script> window.open=NS_ActualOpen; </script>
</form>
</noscript></b>
</td></tr></tbody></table>
</font>
</center></td></tr></tbody></table>
</center></td>
</tr></tbody></table>
</tbody></table>
</div>
</body>
</html>

View File

@ -43,18 +43,6 @@ om/ad_static.asp?pid=2097&sid=1881&asid=7708"></a></IFRAME></CENTER></LI></FONT
./test/HTML/doc3.htm:767: error: Opening and ending tag mismatch: center and font
archive</A></FONT> </FORM></CENTER></TD></TR></TBODY></TABLE><!--
^
./test/HTML/doc3.htm:767: error: Opening and ending tag mismatch: td and font
archive</A></FONT> </FORM></CENTER></TD></TR></TBODY></TABLE><!--
^
./test/HTML/doc3.htm:767: error: Opening and ending tag mismatch: tr and font
archive</A></FONT> </FORM></CENTER></TD></TR></TBODY></TABLE><!--
^
./test/HTML/doc3.htm:767: error: Opening and ending tag mismatch: tbody and font
archive</A></FONT> </FORM></CENTER></TD></TR></TBODY></TABLE><!--
^
./test/HTML/doc3.htm:767: error: Opening and ending tag mismatch: table and font
archive</A></FONT> </FORM></CENTER></TD></TR></TBODY></TABLE><!--
^
./test/HTML/doc3.htm:790: error: Unexpected end tag : iframe
document.write("42DF8478957377></IFRAME>");
^
@ -82,48 +70,30 @@ om/ad_static.asp?pid=2097&sid=1881&asid=7708"></a></IFRAME></CENTER></LI></FONT
./test/HTML/doc3.htm:828: error: Unexpected end tag : p
Special<BR>Code:BP6-hd</FONT></A> </P></CENTER></TD></TR></TBODY></
^
./test/HTML/doc3.htm:828: error: Opening and ending tag mismatch: td and form
./test/HTML/doc3.htm:828: error: Opening and ending tag mismatch: center and td
Special<BR>Code:BP6-hd</FONT></A> </P></CENTER></TD></TR></TBODY></
^
./test/HTML/doc3.htm:828: error: Opening and ending tag mismatch: tr and form
Special<BR>Code:BP6-hd</FONT></A> </P></CENTER></TD></TR></TBODY></
^
./test/HTML/doc3.htm:828: error: Opening and ending tag mismatch: tbody and form
Special<BR>Code:BP6-hd</FONT></A> </P></CENTER></TD></TR></TBODY></
^
./test/HTML/doc3.htm:828: error: Opening and ending tag mismatch: table and form
Special<BR>Code:BP6-hd</FONT></A> </P></CENTER></TD></TR></TBODY></TABL
^
^
./test/HTML/doc3.htm:834: error: Unexpected end tag : p
width="100%">&nbsp;</TD></TR></TBODY></TABLE></P></CENTER></TR></TBODY></TABLE>
^
./test/HTML/doc3.htm:834: error: Opening and ending tag mismatch: center and form
width="100%">&nbsp;</TD></TR></TBODY></TABLE></P></CENTER></TR></TBODY></TABLE>
^
./test/HTML/doc3.htm:834: error: Opening and ending tag mismatch: tr and form
./test/HTML/doc3.htm:834: error: Opening and ending tag mismatch: tr and td
width="100%">&nbsp;</TD></TR></TBODY></TABLE></P></CENTER></TR></TBODY></TABLE>
^
./test/HTML/doc3.htm:834: error: Opening and ending tag mismatch: tbody and form
./test/HTML/doc3.htm:834: error: Opening and ending tag mismatch: tbody and td
width="100%">&nbsp;</TD></TR></TBODY></TABLE></P></CENTER></TR></TBODY></TABLE>
^
./test/HTML/doc3.htm:834: error: Opening and ending tag mismatch: table and form
./test/HTML/doc3.htm:834: error: Opening and ending tag mismatch: table and td
width="100%">&nbsp;</TD></TR></TBODY></TABLE></P></CENTER></TR></TBODY></TABLE>
^
./test/HTML/doc3.htm:835: error: Opening and ending tag mismatch: td and form
<CENTER></CENTER></TD></TR><TR><TD COLSPAN="3" VALIGN="TOP"
^
./test/HTML/doc3.htm:835: error: Opening and ending tag mismatch: tr and form
<CENTER></CENTER></TD></TR><TR><TD COLSPAN="3" VALIGN="TOP"
^
./test/HTML/doc3.htm:836: error: Opening and ending tag mismatch: table and form
./test/HTML/doc3.htm:836: error: Opening and ending tag mismatch: table and tbody
HEIGHT="70">&nbsp;</TD> </TR></TABLE>
^
./test/HTML/doc3.htm:844: error: Opening and ending tag mismatch: div and form
./test/HTML/doc3.htm:844: error: Opening and ending tag mismatch: div and tbody
,arial">Site design by Tim Brinkley</FONT> </TD> </TR> --></TBODY></TABLE></DI
^
./test/HTML/doc3.htm:846: error: Opening and ending tag mismatch: body and form
./test/HTML/doc3.htm:846: error: Opening and ending tag mismatch: body and tbody
</BODY></HTML>
^
./test/HTML/doc3.htm:846: error: Opening and ending tag mismatch: html and form
./test/HTML/doc3.htm:846: error: Opening and ending tag mismatch: html and tbody
</BODY></HTML>
^

View File

@ -2661,10 +2661,12 @@ SAX.error: Opening and ending tag mismatch: font and form
SAX.characters( , 1)
SAX.endElement(form)
SAX.error: Opening and ending tag mismatch: center and font
SAX.error: Opening and ending tag mismatch: td and font
SAX.error: Opening and ending tag mismatch: tr and font
SAX.error: Opening and ending tag mismatch: tbody and font
SAX.error: Opening and ending tag mismatch: table and font
SAX.endElement(font)
SAX.endElement(center)
SAX.endElement(td)
SAX.endElement(tr)
SAX.endElement(tbody)
SAX.endElement(table)
SAX.comment( <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%" BGCOLOR="silver">
<TR>
<TD WIDTH="100%">
@ -2724,6 +2726,8 @@ SAX.endElement(b)
SAX.startElement(b)
SAX.error: Opening and ending tag mismatch: noscript and b
SAX.endElement(b)
SAX.endElement(noscript)
SAX.endElement(b)
SAX.startElement(b)
SAX.comment( END GoTo.com Search Box )
SAX.endElement(b)
@ -2755,6 +2759,8 @@ SAX.characters(
, 15)
SAX.endElement(p)
SAX.error: Opening and ending tag mismatch: form and center
SAX.endElement(center)
SAX.endElement(form)
SAX.comment( Pricewatch Search Box )
SAX.startElement(a, href='http://www.puicorp.com/bp6specials.htm', target='_BLANK')
SAX.startElement(img, src='doc3_files/puibp6.gif')
@ -2783,11 +2789,11 @@ SAX.endElement(font)
SAX.endElement(a)
SAX.characters( , 1)
SAX.error: Unexpected end tag : p
SAX.endElement(center)
SAX.error: Opening and ending tag mismatch: td and form
SAX.error: Opening and ending tag mismatch: tr and form
SAX.error: Opening and ending tag mismatch: tbody and form
SAX.error: Opening and ending tag mismatch: table and form
SAX.error: Opening and ending tag mismatch: center and td
SAX.endElement(td)
SAX.endElement(tr)
SAX.endElement(tbody)
SAX.endElement(table)
SAX.characters(
, 8)
SAX.startElement(table, bgcolor='silver', border='0', cellpadding='0', cellspacing='0', height='100%', width='100%')
@ -2806,24 +2812,24 @@ SAX.endElement(tr)
SAX.endElement(tbody)
SAX.endElement(table)
SAX.error: Unexpected end tag : p
SAX.error: Opening and ending tag mismatch: center and form
SAX.error: Opening and ending tag mismatch: tr and form
SAX.error: Opening and ending tag mismatch: tbody and form
SAX.error: Opening and ending tag mismatch: table and form
SAX.endElement(center)
SAX.error: Opening and ending tag mismatch: tr and td
SAX.error: Opening and ending tag mismatch: tbody and td
SAX.error: Opening and ending tag mismatch: table and td
SAX.comment( </TABLE>)
SAX.characters(
, 2)
SAX.startElement(center)
SAX.endElement(center)
SAX.error: Opening and ending tag mismatch: td and form
SAX.error: Opening and ending tag mismatch: tr and form
SAX.endElement(td)
SAX.endElement(tr)
SAX.startElement(tr)
SAX.startElement(td, colspan='3', valign='TOP', height='70')
SAX.characters(&nbsp;, 2)
SAX.endElement(td)
SAX.characters( , 1)
SAX.endElement(tr)
SAX.error: Opening and ending tag mismatch: table and form
SAX.error: Opening and ending tag mismatch: table and tbody
SAX.characters(
, 2)
SAX.startElement(table, border='0', width='780')
@ -2858,7 +2864,7 @@ SAX.endElement(tr)
SAX.comment( <TR> <TD WIDTH="780"> <P ALIGN="CENTER"><FONT SIZE="1" COLOR="#999999" FACE="Verdana,arial">Site design by Tim Brinkley</FONT> </TD> </TR> )
SAX.endElement(tbody)
SAX.endElement(table)
SAX.error: Opening and ending tag mismatch: div and form
SAX.error: Opening and ending tag mismatch: div and tbody
SAX.characters(
, 2)
SAX.startElement(script)
@ -2866,26 +2872,10 @@ SAX.cdata( window.open=NS_ActualOpen; , 28)
SAX.endElement(script)
SAX.characters(
, 2)
SAX.error: Opening and ending tag mismatch: body and form
SAX.error: Opening and ending tag mismatch: html and form
SAX.error: Opening and ending tag mismatch: body and tbody
SAX.error: Opening and ending tag mismatch: html and tbody
SAX.ignorableWhitespace(
, 2)
SAX.endElement(form)
SAX.endElement(noscript)
SAX.endElement(b)
SAX.endElement(td)
SAX.endElement(tr)
SAX.endElement(tbody)
SAX.endElement(table)
SAX.endElement(font)
SAX.endElement(center)
SAX.endElement(td)
SAX.endElement(tr)
SAX.endElement(tbody)
SAX.endElement(table)
SAX.endElement(center)
SAX.endElement(td)
SAX.endElement(tr)
SAX.endElement(tbody)
SAX.endElement(table)
SAX.endElement(div)

View File

@ -38,8 +38,7 @@
<dt><h4>Class <a href="ProblemDomain.Note.html#ProblemDomain.Note">ProblemDomain.Note</a>
</h4></dt>
</dl>
<h4>
<b>Links</b>
<h4><b>Links</b></h4>
<ul><li>
<b>Link to </b>
<a href="HumanInterface.Package.html#HumanInterface.Package">HumanInterface</a>
@ -55,6 +54,5 @@
<a href="DataManagement.Package.html#DataManagement.Package">DataManagement</a>
</li></ul>
<dir></dir>
</h4>
</body>
</html>

View File

@ -7,6 +7,6 @@
./test/HTML/test3.html:27: error: Opening and ending tag mismatch: h4 and b
<h4><b>Links</h4></b>
^
./test/HTML/test3.html:34: error: Opening and ending tag mismatch: html and h4
</html>
^
./test/HTML/test3.html:27: error: Unexpected end tag : b
<h4><b>Links</h4></b>
^

View File

@ -171,7 +171,9 @@ SAX.startElement(b)
SAX.characters(Links, 5)
SAX.error: Opening and ending tag mismatch: h4 and b
SAX.endElement(b)
SAX.characters(
SAX.endElement(h4)
SAX.error: Unexpected end tag : b
SAX.ignorableWhitespace(
, 2)
SAX.startElement(ul)
SAX.startElement(li)
@ -183,11 +185,11 @@ SAX.characters(HumanInterface, 14)
SAX.endElement(a)
SAX.endElement(li)
SAX.endElement(ul)
SAX.characters(
SAX.ignorableWhitespace(
, 2)
SAX.startElement(dir)
SAX.endElement(dir)
SAX.characters(
SAX.ignorableWhitespace(
, 2)
SAX.startElement(ul)
SAX.startElement(li)
@ -199,11 +201,11 @@ SAX.characters(DataManagement.FlatFile, 23)
SAX.endElement(a)
SAX.endElement(li)
SAX.endElement(ul)
SAX.characters(
SAX.ignorableWhitespace(
, 2)
SAX.startElement(dir)
SAX.endElement(dir)
SAX.characters(
SAX.ignorableWhitespace(
, 2)
SAX.startElement(ul)
SAX.startElement(li)
@ -215,16 +217,14 @@ SAX.characters(DataManagement, 14)
SAX.endElement(a)
SAX.endElement(li)
SAX.endElement(ul)
SAX.characters(
SAX.ignorableWhitespace(
, 2)
SAX.startElement(dir)
SAX.endElement(dir)
SAX.characters(
, 2)
SAX.error: Opening and ending tag mismatch: html and h4
SAX.ignorableWhitespace(
, 2)
SAX.endElement(h4)
SAX.endElement(body)
SAX.endElement(html)
SAX.ignorableWhitespace(
, 2)
SAX.endDocument()

View File

@ -164,7 +164,8 @@
</font></td></tr>
<tr><td bgcolor="#99FF99"><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"><a href="http://redirect.wired.com/redir/53/http://stocks.wired.com/stocks_portfolios.asp">Portfolios</a></font></td></tr>
<!-- BEGIN B&N spot --><tr><td bgcolor="#FF0000"><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF"><b>FIND A BOOK</b></font></td></tr>
<tr><td bgcolor="#CCFFCC"><table cellspacing="0" cellpadding="0" border="0" width="145">
<tr><td bgcolor="#CCFFCC">
<table cellspacing="0" cellpadding="0" border="0" width="145">
<tr><td bgcolor="#CCFFCC"><form action="http://r.wired.com/r/wn_nav_c_bn/http://barnesandnoble.bfast.com/booklink/click">
<input type="hidden" name="sourceid" value="383471">
<input type="hidden" name="categoryid" value="categorydropdown">
@ -271,7 +272,11 @@ or <a href="/news/pointcast/0,1366,,00.html">PointCast</a>
</font>
<br>
<!-- TRACKING --><img src="http://www.wired.com/special/modx/news.gif" height="1" width="1" alt="">
<!-- end lower left side Navigation --><!-- CONTENT TABLE --><table border="0" width="447" cellspacing="0" cellpadding="0" bordercolor="#66FF00"><tr>
</font>
</td></tr>
</table>
<!-- end lower left side Navigation --><!-- CONTENT TABLE --><table border="0" width="447" cellspacing="0" cellpadding="0" bordercolor="#66FF00">
<tr>
<td valign="TOP" align="LEFT" rowspan="2">
<img src="http://static.wired.com/news/images/spacer.gif" height="1" width="15" alt="">
<br>
@ -311,6 +316,10 @@ or <a href="/news/pointcast/0,1366,,00.html">PointCast</a>
<font size="1" face="Arial, Geneva, sans-serif" color="#000000">Readers on Apple's G4 ... AOL's passwords ... MS vs. Linux.</font>
<br>
<br>
</font>
</font>
</td>
</tr>
<!-- Commentary Frag End --><tr>
<td align="left" bgcolor="#000000">&nbsp;</td>
<td bgcolor="#000000"><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF"><b>CURRENT HOO-HA</b></font></td>
@ -381,8 +390,9 @@ or <a href="/news/pointcast/0,1366,,00.html">PointCast</a>
<font size="2" face="Arial,Helvetica, sans-serif"><b><a href="/news/exec/0,1370,,00.html">Executive Summary</a></b></font>
<br>
<font size="1" face="Arial, Helvetica, sans-serif" color="#000000">CEOs, COOs, CIOs unite. <br>
<i>Sponsored by <a href="http://r.wired.com/r/wn_exec_r_vign/http://www.vignette.com/" style="text-decoration:none">
<font color="#000000">Vignette</font>
<i>Sponsored by <a href="http://r.wired.com/r/wn_exec_r_vign/http://www.vignette.com/" style="text-decoration:none"><font color="#000000">Vignette</font></a>
</i>
</font>
<br>
<br>
<font size="2" face="Arial,Helvetica, sans-serif"><b><a href="/news/school/0,1383,,00.html">Making the Grade</a></b></font>
@ -399,8 +409,10 @@ or <a href="/news/pointcast/0,1366,,00.html">PointCast</a>
<font size="1" face="Arial, Helvetica, sans-serif" color="#000000">An IS/IT resource <br>
<i>Sponsored by <a href="http://r.wired.com/r/wn_is_r_ssec/http://ad.doubleclick.net/clk;653163;3599571;s?http://www.sprintbiz.com/s
ervlet/appservlet?from=/wired/sprint/&amp;template=/security/security.html&amp;SITE=
wired.com&amp;BANNER=Sprint" style="text-decoration:none">
<font color="#000000">Sprint</font>
wired.com&amp;BANNER=Sprint" style="text-decoration:none"><font color="#000000">Sprint</font></a>
</i>
</font>
</font>
<br>
<br>
<font size="2" face="Arial,Helvetica, sans-serif"><b><a href="/news/y2k/0,1360,,00.html">Y2K Watch</a></b></font>
@ -411,6 +423,16 @@ wired.com&amp;BANNER=Sprint" style="text-decoration:none">
<br>
<font face="Arial, Helvetica, sans-serif" size="2"><b><i><a href="/news/special_reports/1,1293,,00.html">More Hoo-Ha</a></i></b></font>
<br>&nbsp;<br>
</font>
</font>
</font>
</font>
</font>
</font>
</font>
</font>
</td>
</tr>
<!-- start of Gen News --><tr>
<td bgcolor="#000000">&nbsp;</td>
<td bgcolor="#000000"><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF"><b>MEANWHILE...</b></font></td>
@ -434,7 +456,9 @@ Contruction workers in Berlin opened an old wound in the German psyche this week
<br>
</td>
</tr>
<!-- end of Gen News --><font size="1">&nbsp;<br>
<!-- end of Gen News -->
</table>
<font size="1">&nbsp;<br>
</font>
<br>
<font face="Verdana, Arial, Geneva, sans-serif" size="2"><b><i>Other Top Stories</i></b></font>
@ -562,7 +586,10 @@ Contruction workers in Berlin opened an old wound in the German psyche this week
<font face="geneva, arial" size="2">BBC News</font>
<br>
<br>
<!-- SQL above --><!-- - - - - - - - - - - - - --><tr>
<!-- SQL above --><!-- - - - - - - - - - - - - -->
</td>
</tr>
<tr>
<td valign="TOP" align="LEFT">
<img src="http://static.wired.com/news/images/spacer.gif" height="1" width="280" alt="">
<br>
@ -600,35 +627,10 @@ Contruction workers in Berlin opened an old wound in the German psyche this week
<td valign="TOP" align="LEFT"><img src="http://static.wired.com/news/images/spacer.gif" height="1" width="5" alt=""></td>
<td valign="TOP" align="LEFT"></td>
</tr>
<br>
</font>
</a>
</i>
</font>
</font>
</a>
</i>
</font>
</font>
</font>
</font>
</font>
</font>
</font>
</font>
</td>
</tr>
</font>
</font>
</td>
</tr>
</table>
</td>
</tr></table>
</font>
<br>
</td></tr>
</table></td></tr>
</table></td></tr>
</table>
</body>
</html>

View File

@ -205,27 +205,18 @@ MG SRC="http://barnesandnoble.bfast.com/booklink/serve?sourceid=383471&is_searc
./test/HTML/wired.html:346: error: Opening and ending tag mismatch: td and font
</td>
^
./test/HTML/wired.html:347: error: Opening and ending tag mismatch: tr and font
</tr>
^
./test/HTML/wired.html:349: error: Opening and ending tag mismatch: table and font
</table>
^
./test/HTML/wired.html:374: error: htmlParseEntityRef: no name
a, sans-serif"><b><a href="/news/commentarySection/0,1292,31926,00.html">Rants
^
./test/HTML/wired.html:374: error: Opening and ending tag mismatch: td and font
Readers on Apple's G4 ... AOL's passwords ... MS vs. Linux.</font><br><br> </t
^
./test/HTML/wired.html:375: error: Opening and ending tag mismatch: tr and font
</tr>
^
./test/HTML/wired.html:374: error: Opening and ending tag mismatch: td and font
Readers on Apple's G4 ... AOL's passwords ... MS vs. Linux.</font><br><br> </t
^
./test/HTML/wired.html:402: error: Opening and ending tag mismatch: a and font
w.vignette.com/" style="text-decoration:none"><font color="#000000">Vignette</a
^
./test/HTML/wired.html:402: error: Opening and ending tag mismatch: i and font
gnette.com/" style="text-decoration:none"><font color="#000000">Vignette</a></i
^
./test/HTML/wired.html:406: error: htmlParseEntityRef: expecting ';'
ervlet/appservlet?from=/wired/sprint/&template=/security/security.html&SITE=
^
@ -238,39 +229,39 @@ wired.com&BANNER=Sprint" style="text-decoration:none"><font color="#000000">Spr
./test/HTML/wired.html:406: error: Opening and ending tag mismatch: a and font
com&BANNER=Sprint" style="text-decoration:none"><font color="#000000">Sprint</a
^
./test/HTML/wired.html:406: error: Opening and ending tag mismatch: i and font
BANNER=Sprint" style="text-decoration:none"><font color="#000000">Sprint</a></i
^
./test/HTML/wired.html:406: error: End tag : expected '>'
=Sprint" style="text-decoration:none"><font color="#000000">Sprint</a></i></fon
^
./test/HTML/wired.html:406: error: Opening and ending tag mismatch: font and a
" style="text-decoration:none"><font color="#000000">Sprint</a></i></font</font
^
./test/HTML/wired.html:412: error: Opening and ending tag mismatch: td and font
</td>
^
./test/HTML/wired.html:413: error: Opening and ending tag mismatch: tr and font
</tr>
./test/HTML/wired.html:412: error: Opening and ending tag mismatch: td and font
</td>
^
./test/HTML/wired.html:412: error: Opening and ending tag mismatch: td and font
</td>
^
./test/HTML/wired.html:412: error: Opening and ending tag mismatch: td and font
</td>
^
./test/HTML/wired.html:412: error: Opening and ending tag mismatch: td and font
</td>
^
./test/HTML/wired.html:412: error: Opening and ending tag mismatch: td and font
</td>
^
./test/HTML/wired.html:412: error: Opening and ending tag mismatch: td and font
</td>
^
./test/HTML/wired.html:412: error: Opening and ending tag mismatch: td and font
</td>
^
./test/HTML/wired.html:430: error: htmlParseEntityRef: expecting ';'
href="http://www.lycos.com/news/flash/hitlerbunker.html?v=wn1015&lpv=1">Lycos</
^
./test/HTML/wired.html:434: error: Opening and ending tag mismatch: table and font
</table>
^
./test/HTML/wired.html:461: error: Opening and ending tag mismatch: td and font
</TD>
^
./test/HTML/wired.html:462: error: Opening and ending tag mismatch: tr and font
</TR>
^
./test/HTML/wired.html:508: error: Opening and ending tag mismatch: table and font
</TABLE>
^
./test/HTML/wired.html:512: error: Opening and ending tag mismatch: body and font
./test/HTML/wired.html:512: error: Opening and ending tag mismatch: body and td
</body>
^
./test/HTML/wired.html:513: error: Opening and ending tag mismatch: html and font
./test/HTML/wired.html:513: error: Opening and ending tag mismatch: html and td
</html>
^

View File

@ -1452,13 +1452,15 @@ SAX.endElement(img)
SAX.characters(
, 1)
SAX.error: Opening and ending tag mismatch: td and font
SAX.endElement(font)
SAX.endElement(td)
SAX.characters(
, 3)
SAX.error: Opening and ending tag mismatch: tr and font
SAX.endElement(tr)
SAX.characters(
, 2)
SAX.error: Opening and ending tag mismatch: table and font
SAX.endElement(table)
SAX.characters(
, 2)
@ -1626,9 +1628,13 @@ SAX.startElement(br)
SAX.endElement(br)
SAX.characters( , 2)
SAX.error: Opening and ending tag mismatch: td and font
SAX.endElement(font)
SAX.error: Opening and ending tag mismatch: td and font
SAX.endElement(font)
SAX.endElement(td)
SAX.characters(
, 9)
SAX.error: Opening and ending tag mismatch: tr and font
SAX.endElement(tr)
SAX.characters(
, 1)
SAX.comment( Commentary Frag End )
@ -1884,7 +1890,9 @@ SAX.startElement(a, href='http://r.wired.com/r/wn_exec_r_vign/http://www.vignett
SAX.startElement(font, color='#000000')
SAX.characters(Vignette, 8)
SAX.error: Opening and ending tag mismatch: a and font
SAX.error: Opening and ending tag mismatch: i and font
SAX.endElement(font)
SAX.endElement(a)
SAX.endElement(i)
SAX.endElement(font)
SAX.startElement(br)
SAX.endElement(br)
@ -1947,10 +1955,12 @@ wired.com&amp;BANNER=Sprint', style='text-decoration:none')
SAX.startElement(font, color='#000000')
SAX.characters(Sprint, 6)
SAX.error: Opening and ending tag mismatch: a and font
SAX.error: Opening and ending tag mismatch: i and font
SAX.endElement(font)
SAX.endElement(a)
SAX.endElement(i)
SAX.error: End tag : expected '>'
SAX.endElement(font)
SAX.error: Opening and ending tag mismatch: font and a
SAX.endElement(font)
SAX.startElement(br)
SAX.endElement(br)
SAX.startElement(br)
@ -1996,9 +2006,25 @@ SAX.characters(
, 2)
SAX.error: Opening and ending tag mismatch: td and font
SAX.endElement(font)
SAX.error: Opening and ending tag mismatch: td and font
SAX.endElement(font)
SAX.error: Opening and ending tag mismatch: td and font
SAX.endElement(font)
SAX.error: Opening and ending tag mismatch: td and font
SAX.endElement(font)
SAX.error: Opening and ending tag mismatch: td and font
SAX.endElement(font)
SAX.error: Opening and ending tag mismatch: td and font
SAX.endElement(font)
SAX.error: Opening and ending tag mismatch: td and font
SAX.endElement(font)
SAX.error: Opening and ending tag mismatch: td and font
SAX.endElement(font)
SAX.endElement(td)
SAX.characters(
, 1)
SAX.error: Opening and ending tag mismatch: tr and font
SAX.endElement(tr)
SAX.characters(
, 1)
SAX.comment( start of Gen News )
@ -2084,7 +2110,7 @@ SAX.characters(
SAX.comment( end of Gen News )
SAX.characters(
, 1)
SAX.error: Opening and ending tag mismatch: table and font
SAX.endElement(table)
SAX.characters(
@ -2631,10 +2657,10 @@ SAX.comment( - - - - - - - - - - - - )
SAX.characters(
, 6)
SAX.error: Opening and ending tag mismatch: td and font
SAX.endElement(td)
SAX.characters(
, 3)
SAX.error: Opening and ending tag mismatch: tr and font
SAX.endElement(tr)
SAX.characters(
, 4)
@ -2801,7 +2827,7 @@ SAX.characters(
SAX.endElement(tr)
SAX.characters(
, 1)
SAX.error: Opening and ending tag mismatch: table and font
SAX.endElement(table)
SAX.characters(
@ -2810,42 +2836,13 @@ SAX.startElement(br)
SAX.endElement(br)
SAX.characters(
, 1)
SAX.error: Opening and ending tag mismatch: body and font
SAX.error: Opening and ending tag mismatch: body and td
SAX.characters(
, 1)
SAX.error: Opening and ending tag mismatch: html and font
SAX.error: Opening and ending tag mismatch: html and td
SAX.ignorableWhitespace(
, 2)
SAX.endElement(font)
SAX.endElement(a)
SAX.endElement(i)
SAX.endElement(font)
SAX.endElement(font)
SAX.endElement(a)
SAX.endElement(i)
SAX.endElement(font)
SAX.endElement(font)
SAX.endElement(font)
SAX.endElement(font)
SAX.endElement(font)
SAX.endElement(font)
SAX.endElement(font)
SAX.endElement(font)
SAX.endElement(td)
SAX.endElement(tr)
SAX.endElement(font)
SAX.endElement(font)
SAX.endElement(td)
SAX.endElement(tr)
SAX.endElement(table)
SAX.endElement(td)
SAX.endElement(tr)
SAX.endElement(table)
SAX.endElement(font)
SAX.endElement(td)
SAX.endElement(tr)
SAX.endElement(table)
SAX.endElement(td)
SAX.endElement(tr)
SAX.endElement(table)