Re:Explain this please

by Linda Mercer/Wishstar <catnip(at)ais.net>

 Date:  Sun, 26 May 2002 13:09:41 -0500
 To:  "Darrell King" <darrell(at)webctr.com>,
<hwg-techniques(at)hwg.org>
 References: 
  todo: View Thread, Original
http://validator.w3.org/check?uri=3Dhttp%3A%2F%2Fxumbrus.com%2Forder.htm&cha=
rs
Well, I changed the doctype and now it's giving me a whole new list of=20
errors that I don't understand and TIDY in HTML-Kit doesn't see!

=B7       Line =B7  38, column 34:
   ...       <div id=3D'div06' onMouseover=3D"currentButton('div06',1)" ...
                                     ^
Error: there is no attribute "onMouseover" for this element (in this HTML=20
version)
=B7       Line =B7  38, column 50:
   ... n=3D'http://www.xumbrus.com/orders.htm'"=20
onMouseout=3D"currentButton('div0 ...
                                                         ^
Error: there is no attribute "onMouseout" for this element (in this HTML=20
version)
=B7       Line =B7  75, column 19:
           <div class=3Dfeatures1><a class=3D"heading"=
 href=3D"http://www.premi ...
                      ^
Error: attribute values must be quoted in XML
=B7       Line =B7  78, column 19:
           <div class=3Dfeatures2><a class=3D"heading"=
 href=3D"http://www.premi ...
                      ^
Error: attribute values must be quoted in XML
=B7       Line =B7  88, column 35:
   ... ><img src=3D"images/order.png" WIDTH=3D"79" HEIGHT=3D"22" alt=3D"ord=
 ...
                                          ^
Error: there is no attribute "WIDTH" for this element (in this HTML version)
=B7       Line =B7  88, column 50:
   ... e2"><img src=3D"images/order.png" WIDTH=3D"79" HEIGHT=3D"22"=
 alt=3D"order=20
now" ...
                                                         ^
Error: there is no attribute "HEIGHT" for this element (in this HTML=
 version)
=B7       Line =B7  107, column 37:
               <td class=3D"footer" WIDTH=3D"100%" colspan=3D"3"><hr />
                                        ^
Error: there is no attribute "WIDTH" for this element (in this HTML version)
=B7       Line =B7  113, column 24:
          alt=3D"Valid CSS!">
                           ^
Error: end tag for "img" omitted; end tags are required in XML for=20
non-empty elements; empty elements require an end tag or the start tag must=
=20
end with "/>"
=B7       Line =B7  111, column 2:
     <img style=3D"border:0;width:88px;height:31px"
     ^
Error: start tag was here



Linda

At 12:58 PM 5/26/02, you wrote:
>I would expect these errors if the opening head html or head were missing.
>What it's telling us is that there is no root html element, I think.
>Curious.  Perhaps it is confused by the missing doctype.
>
>
>----- Original Message -----
>From: "Linda Mercer/Wishstar" <catnip(at)ais.net>
>To: "Darrell King" <darrell(at)webctr.com>
>Sent: Sunday, May 26, 2002 1:39 PM
>Subject: Please explain this
>
>
>While the page validates with TIDY in HTML-Kit, it does NOT validate with
>using the WC3 validation service. What gives?
>
>http://validator.w3.org/check?uri=3Dhttp%3A%2F%2Fxumbrus.com%2Forder.htm&ch=
ars
>et=3D%28detect+automatically%29&doctype=3DInline&sp=3D&outline=3D
>
>Below are the results of attempting to parse this document with an SGML
>parser.
>=B7       Line =B7  6, column 42:
>    <meta name=3D"Generator" content=3D"HTML-Kit" />
>                                              ^
>Error: element "META" not allowed here; check which elements this element
>may be contained within
>=B7       Line =B7  7, column 50:
>    ... nt average, collegiate, campus, college, student" />
>                                                          ^
>Error: element "META" not allowed here; check which elements this element
>may be contained within
>=B7       Line =B7  9, column 27:
>         to empower students!" />
>                               ^
>Error: element "META" not allowed here; check which elements this element
>may be contained within
>=B7       Line =B7  10, column 48:
>    <meta name=3D"author" content=3D"Wishstar InDesign" />
>                                                    ^
>Error: element "META" not allowed here; check which elements this element
>may be contained within
>=B7       Line =B7  11, column 66:
>    <link rel=3D"stylesheet" type=3D"text/css" href=3D"docs/main_pcs3a.css"=
 />
>                                                                      ^
>Error: element "LINK" not allowed here; check which elements this element
>may be contained within
>=B7       Line =B7  14, column 6:
>    </head>
>          ^
>Error: end tag for element "HEAD" which is not open; try removing the end
>tag or check for improper nesting of elements
>=B7       Line =B7  15, column 5:
>    <body>
>         ^
>Error: element "BODY" not allowed here; check which elements this element
>may be contained within
>
>Sorry, this document does not validate as HTML 4.01 Transitional.
>
>
>Linda
>
>=AB=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7=AB=
=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7
>
>"There is no better exercise for your heart than reaching
>down and helping to lift someone up"  - Bernard Meltzer
>Feline Rescue Network at www.felinerescue.net
>
>=AB=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7=AB=
=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7
>
>The Feline Rescue Network specializes in linking up
>great homes with great kitties. Join Operation Noble
>Foster and offer a foster home for the cats of the
>Military while they are away protecting us
>http://www.felinerescue.net/noblefoster/intro.htm

=AB=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7=AB=
=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7

"There is no better exercise for your heart than reaching
down and helping to lift someone up"  - Bernard Meltzer
Feline Rescue Network at www.felinerescue.net

=AB=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7=AB=
=A4=BB=A5=AB=A4=BB=A7=AB=A4=BB=A5=AB=A4=BB=A7

The Feline Rescue Network specializes in linking up
great homes with great kitties. Join Operation Noble
Foster and offer a foster home for the cats of the
Military while they are away protecting us
http://www.felinerescue.net/noblefoster/intro.htm

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA