[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Lynx's tracelog: a useless debugging tool?
From: |
Michael Warner |
Subject: |
Re: lynx-dev Lynx's tracelog: a useless debugging tool? |
Date: |
Fri, 15 May 1998 20:31:54 -0700 |
On Fri, May 15, 1998, Jacob Poon <address@hidden> wrote:
> When I go to this page:
>
> http://www.geocities.com/Tokyo/3741/text.html
>
> Lynx said it has 'bad HTML'. Then I debug it with the built-in trace log,
> it gives out tons of useless infomation before reaching the 'bad HTML'
> error. Even so, the error message does not clearly describe the exact
> problem. In my case, it gives the following:
>
> Bad HTML: Something not closed before BODY end tag
> SGML: End </HTML>
> HTML:end_element: Popped style off stack - Normal
> Bad HTML: Something not closed before HTML end tag
I think the error referred to is the fact that the last anchor on the
page is unclosed:
<a
href="http://www.webring.org/cgi-bin/webring?previous&ring=sailormoon&id=67">
</center></font>
<!-- End Sailor Moon Ring of Power Fragment -->
<P>
</center>
</body>
</html>
> I tried to test it with W3C validator and doesn't help either. Too many
> times it says something like this:
>
> Error at line 16:
> <img src=rib_bar_.gif></a>
> ^ end tag for element "A"
> which is not open (explanation...)
Probably the lack of ' " ' 's, similar to the "unclosed comment"
problem recently mentioned on the list. Should be <...src="foo.gif"> /
<...href="some.html">. I really don't think the validator is talking
about case.
> Even the validator itself is buggy because the actual source is follows:
>
> <A> ...... <img src=rib_bar_.gif></a>
>
> The W3C validator itself is case sensitive on tag nesting checks, but HTML
> tags are not. Therefore I can't find what bugged Lynx.
The other (possible) problems I noticed are an unclosed <center> tag
in the third data cell of the first table, and an unclosed <font> near
the end of the page - but I don't know if they are technically
required to be closed, and I'm too lazy to look it up. :)
--
Michael Warner
<address@hidden>