[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV bugs? :-)
From: |
Larry W. Virden, x2487 |
Subject: |
Re: LYNX-DEV bugs? :-) |
Date: |
Tue, 22 Apr 1997 09:44:51 -0400 |
I decided to let sp (html-ncheck) take a crack at validating the
html. Now, I don't know exactly the context here - we've not been
given the full page. And I don't know what level of html that you are
trying to support. I made a few additions to your page to make the
HTML dtd validator happy:
$ cat tst.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>testing mixed browser</title>
</head>
<body>
<p>The MOD files:
<br>
<br>
<FONT SIZE=+1>
<b>
<UL>
<LI><A HREF="http://ETC/thesign1.zip"> The Sign</A>
<LI><A HREF="http://ETC/imagine1.zip"> Imagine</A>
<LI><A HREF="http://ETC/hrtglss1.zip"> Heart of Glass</A></b><I>
<LI> One Tin Soldier
<LI> Eight is Enough
<LI> Alone Again
<LI> Karma Chameleon
<LI> Andy Grittith Theme
<LI> Take me out to the Ballgame
<LI> Total Eclipse of the Heart
<LI> Brady Bunch Theme
<LI> Can't fight this feeling
<LI> Feliz Navidad
<LI> Green Acres Theme
<LI> Honesty
<LI> Cute Song
<LI> Nine to Five
<LI> Top of the World</I><b> ( <-------- this is where it ends)
<LI> (more to follow after I finish the above...)
</UL>
</b>
<p>I have many others at various stages of development (from the 50's
to the mid-eighties). I'm not certain how soon I can get to them,
but a new one should be appearing every so often.
</body>
</html>
$ html-ncheck ~/tst.html
/home/lwv26/tst.html ...
/projects/npd/npdweb/bin-sol2/nsgmls:/home/lwv26/tst.html:12:11:E: an attribute
value must be a literal unless it contains only name characters
This is saying that the line:
<FONT SIZE=+1>
should be
<FONT SIZE="+1">
/projects/npd/npdweb/bin-sol2/nsgmls:/home/lwv26/tst.html:14:4:E: document type
does not allow element "UL" here
Apparently, one cannot start a UL from within a FONT or a B tag.
/projects/npd/npdweb/bin-sol2/nsgmls:/home/lwv26/tst.html:17:65:E: end tag for
"UL" omitted, but its declaration does not permit this
/projects/npd/npdweb/bin-sol2/nsgmls:/home/lwv26/tst.html:14:1: start tag was
here
/projects/npd/npdweb/bin-sol2/nsgmls:/home/lwv26/tst.html:18:4:E: document type
does not allow element "LI" here
/projects/npd/npdweb/bin-sol2/nsgmls:/home/lwv26/tst.html:19:4:E: document type
does not allow element "LI" here; missing one of "UL", "OL", "DIR", "MENU"
start-tag
/projects/npd/npdweb/bin-sol2/nsgmls:/home/lwv26/tst.html:34:5:E: end tag for
element "UL" which is not open
/projects/npd/npdweb/bin-sol2/nsgmls:/home/lwv26/tst.html:37:2:E: document type
does not allow element "P" here
/projects/npd/npdweb/bin-sol2/nsgmls:/home/lwv26/tst.html:41:6:E: end tag for
"FONT" omitted, but its declaration does not permit this
/projects/npd/npdweb/bin-sol2/nsgmls:/home/lwv26/tst.html:12:0: start tag was
here
Now, if I change things as has already been mentioned to read:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>testing mixed browser</title>
</head>
<body>
<p>The MOD files:
<PRE>
</PRE>
<UL>
<LI><b><A HREF="http://ETC/thesign1.zip"> The Sign</A></b>
<LI><b><A HREF="http://ETC/imagine1.zip"> Imagine</A></b>
<LI><b><A HREF="http://ETC/hrtglss1.zip"> Heart of Glass</A></b>
<LI><i> One Tin Soldier</i>
<LI><i> Eight is Enough</i>
<LI><i> Alone Again</i>
<LI><i> Karma Chameleon</i>
<LI><i> Andy Grittith Theme</i>
<LI><i> Take me out to the Ballgame</i>
<LI><i> Total Eclipse of the Heart</i>
<LI><i> Brady Bunch Theme</i>
<LI><i> Can't fight this feeling</i>
<LI><i> Feliz Navidad</i>
<LI><i> Green Acres Theme</i>
<LI><i> Honesty</i>
<LI><i> Cute Song</i>
<LI><i> Nine to Five</i>
<LI><I> Top of the World</I>
<LI><b> (more to follow after I finish the above...)</b>
</UL>
<p>I have many others at various stages of development (from the 50's
to the mid-eighties). I'm not certain how soon I can get to them,
but a new one should be appearing every so often.
</body>
</html>
the file tests valid, BUT, notice that the font change is missing. I don't
seem to be able to figure out how to increase the size of the list by 1.
Anyone have any ideas?
--
Larry W. Virden INET: address@hidden
<URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
Unless explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;