lynx-dev
[Top][All Lists]
Advanced

[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";>&#32;The Sign</A>
 <LI><A HREF="http://ETC/imagine1.zip";>&#32;Imagine</A>
 <LI><A HREF="http://ETC/hrtglss1.zip";>&#32;Heart of Glass</A></b><I>
 <LI>&#32;One Tin Soldier
 <LI>&#32;Eight is Enough
 <LI>&#32;Alone Again
 <LI>&#32;Karma Chameleon
 <LI>&#32;Andy Grittith Theme
 <LI>&#32;Take me out to the Ballgame
 <LI>&#32;Total Eclipse of the Heart
 <LI>&#32;Brady Bunch Theme
 <LI>&#32;Can't fight this feeling
 <LI>&#32;Feliz Navidad
 <LI>&#32;Green Acres Theme
 <LI>&#32;Honesty
 <LI>&#32;Cute Song
 <LI>&#32;Nine to Five
 <LI>&#32;Top of the World</I><b>      ( <-------- this is where it ends)
 <LI>&#32;(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";>&#32;The Sign</A></b>
 <LI><b><A HREF="http://ETC/imagine1.zip";>&#32;Imagine</A></b>
 <LI><b><A HREF="http://ETC/hrtglss1.zip";>&#32;Heart of Glass</A></b>
 <LI><i>&#32;One Tin Soldier</i>
 <LI><i>&#32;Eight is Enough</i>
 <LI><i>&#32;Alone Again</i>
 <LI><i>&#32;Karma Chameleon</i>
 <LI><i>&#32;Andy Grittith Theme</i>
 <LI><i>&#32;Take me out to the Ballgame</i>
 <LI><i>&#32;Total Eclipse of the Heart</i>
 <LI><i>&#32;Brady Bunch Theme</i>
 <LI><i>&#32;Can't fight this feeling</i>
 <LI><i>&#32;Feliz Navidad</i>
 <LI><i>&#32;Green Acres Theme</i>
 <LI><i>&#32;Honesty</i>
 <LI><i>&#32;Cute Song</i>
 <LI><i>&#32;Nine to Five</i>
 <LI><I>&#32;Top of the World</I>
 <LI><b>&#32;(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.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]