AmigaActive (959/2347)

From:Joris Kempen
Date:13 Mar 2001 at 17:05:10
Subject:Re: html checker

Hello Neil

On 13-Mar-01, you wrote:

> Working to the specifications may be a pain to start with, but it can
> save you time and trouble in the long run.
Well i gave the program another shot, but i really got discouraged. I'll
give you an example if you don't mind: my small html-file template.html

Never mind this, i found out that i hadn't installed correctly, i forgot the
catalog file....

Now i don't get that much mistakes anymore.....

Do you know a way to output to a file? According to the guide it isn't
possible but it would be really nice if that was possible...

30min later, i checked some files but the errors i get from chechhtml don't
really give me a clue. You know where i can learn more about the errors?
Some examples with, something like: when you get this mistake, probabably
this and this is wrong in your files....

Maybe you could give me some more explaination: just a short index.html with
it's accompanying errors.

Hope you have some time for this?

index.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<HTML>
<HEAD>
<TITLE>De Trekkers Homepage</TITLE>
</HEAD>

<FRAMESET COLS="120,*" framespacing="0" frameborder="0" border="0"
scrolling="no">
<FRAME SRC="navigatie.html" NAME="navigatie" frameborder="no"
MARGINWIDTH="5" MARGINHEIGHT="5" SCROLLING="auto">
<FRAME SRC="welkom.html" NAME="display" frameborder="no"
MARGINWIDTH="15" MARGINHEIGHT="10" SCROLLING="auto">
</FRAMESET>

<BODY>
<ADDRESS>
</ADDRESS>
</BODY>
</HTML>

Checking index.html
sgmls: SGML error at index.html, line 16 at "C":
Possible attributes treated as data because none were defined
sgmls: SGML error at index.html, line 16 at " ":
Undefined FRAMESET start-tag GI ignored; not used in DTD
sgmls: SGML error at index.html, line 17 at "S":
Possible attributes treated as data because none were defined
sgmls: SGML error at index.html, line 17 at " ":
Undefined FRAME start-tag GI ignored; not used in DTD
sgmls: SGML error at index.html, line 18 at "S":
Possible attributes treated as data because none were defined
sgmls: SGML error at index.html, line 18 at " ":
Undefined FRAME start-tag GI ignored; not used in DTD
sgmls: SGML error at index.html, line 19 at ">":
No element declaration for FRAMESET end-tag GI; end-tag ignored
sgmls: SGML error at index.html, line 21 at ">":
Out-of-context BODY start-tag ended HTML document element (and parse)
END

Last thing: i got this error
sgmls: SGML error at template.html, line 5 at ">":
HEAD element ended prematurely; required subelement omitted

It's from this code <head></head>, does this mean that you can't put empty
tags in your code? Because in my index.html i don't get this error...

Sorry for such a long post
Regards

Joris

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
Make good on the promise you made at graduation to keep
in touch. Classmates.com has over 14 million registered
high school alumni--chances are you'll find your friends!
http://us.click.yahoo.com/l3joGB/DMUCAA/4ihDAA/d8AVlB/TM
---------------------------------------------------------------------_->

Quote carefully and read all ADMIN:README mails

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/