did i break the validator???

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

did i break the validator???

Post by m3rajk »

ok. seriously, why am i getting the errors with these pages??? did <frame *options*></frame> get switched to <frame *options* /> for 4.01?

is the sgml parser not realizing about the cdata???

issues with <frame>:
http://validator.w3.org/check?uri=http% ... finder.php

issues with cdata:
http://validator.w3.org/check?uri=http% ... tically%29

http://validator.w3.org/check?uri=http% ... sp%3Dmoods

issue with refresh (this only occurs here... where i have a refresh)
http://validator.w3.org/check?uri=http% ... tically%29

i don't understand why those are being called invalid since i can clearly see the pairings for the tags.


side note: only thing aside from the metadata not ending with /> the only non-xhtml compliance i might have is readonly and checked... are these both option="option"? and does anyone know why it would give me an issue with html 4.01 and <meta *options* /> ?
User avatar
scorphus
Forum Regular
Posts: 589
Joined: Fri May 09, 2003 11:53 pm
Location: Belo Horizonte, Brazil
Contact:

Post by scorphus »

HTML-comment JavaScripts and styles:

Code: Select all

<script language="javascript" type="text/javascript">
<!--
    function findcolor()&#123; // find the colors
//-->

Code: Select all

<style type="text/css">
<!--
    @import url(textStyle.css);
//-->
</style>
and you'll get rid of some of the errors.

Cheers,
Scorphus.

Edit: sorry, pressed 'quick reply' accidentally
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

ok. added that to it and still having issues with those 3 pages (yeah. it's 3 pages and 4 links becasue one spits out two different html pages)
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

Your doctypes are incorrect. See:
http://www.alistapart.com/articles/doctype
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

so you think the issue is the missing url? ok. i'll try that and check.


edit: doesn't seem to be the case. i fixed them to no avail. any more ideas? like i said initially, i don't understand why i'm getting this when it's clearly correct in there
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

might it be that html 4.01 doesnt like < /> type tags? i know its a standard for xhtml... but if your validating for 4.01 it might not like it.
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

i know the validator doesn't like that for the meta, but what about the frameset issue? how about the cdata issue???

i haven't tried them with xhtml


edit: that still doesn't explain why it doesn't like the fact i have anything after the refresh....


edit: using xml gets rid of the issues with the cdata, however, it creates a different one: JAVASCRIPT IS NOT SUPPORTED AS ONCLICK AND SUCH! or so it's claiming
Post Reply