...

View Full Version : what do these validation errors mean?



cyborg360
01-02-2010, 02:45 AM
on this (http://users.rcn.com/**************/test66_docwrite.html) page?

there's 9 of them, but I am not sure where to start with any of them.

Any ideas?

oesxyl
01-02-2010, 05:37 AM
on this (http://users.rcn.com/**************/test66_docwrite.html) page?

there's 9 of them, but I am not sure where to start with any of them.

Any ideas?
the link is broken.

best regards

cyborg360
01-02-2010, 05:40 AM
the link is broken.

best regards

ah, sorry, i just removed it under 10 minutes ago. here is the new link (http://users.rcn.com/**************/test66.html).

oesxyl
01-02-2010, 05:48 AM
ah, sorry, i just removed it under 10 minutes ago. here is the new link (http://users.rcn.com/**************/test66.html).
no problem, :)
on line 100, change:


// ]]</script>

to


// ]]></script>


best regards

cyborg360
01-02-2010, 07:41 AM
no problem, :)
on line 100, change:


// ]]</script>

to


// ]]></script>


best regards

I do that, and my old total of 9 errors jumps to 13 errors. Does the number of errors always correlate positively with the percent of total code in error? i.e. is it possible that with this change there is less of an overall problem with the code taken as a whole, and that just a few more tiny insignificant errors have arisen which don't really amount to much? Hope I'm communicating effectively to you here.

oesxyl
01-02-2010, 07:54 AM
I do that, and my old total of 9 errors jumps to 13 errors.
that's because are 13 not 9, :)
if the correct way to close a cdata section is ]]>, why do you change it back to ]] which is obvious incorrect?


Does the number of errors always correlate positively with the percent of total code in error? i.e. is it possible that with this change there is less of an overall problem with the code taken as a whole, and that just a few more tiny insignificant errors have arisen which don't really amount to much? Hope I'm communicating effectively to you here.
the number of the errors is not relevant, just fix what you see that is wrong and when you are finish will be no error.

btw, <br> must be replaced <br />, :)

best regards

cyborg360
01-02-2010, 08:01 AM
that's because are 13 not 9, :)
if the correct way to close a cdata section is ]]>, why do you change it back to ]] which is obvious incorrect?

I didn't post the sites which I should have:

this one (http://users.rcn.com/**************/test66.html) has 9 errors and uses ]]

this one (http://users.rcn.com/**************/test67.html) has 13 errors and uses ]]>

no other changes have been made.


the number of the errors is not relevant, just fix what you see that is wrong and when you are finish will be no error.

yes, it's just natural to assume the 9 will drop to at least 8 errors, and certainly not rise, after an error has been fixed, you know??


btw, <br> must be replaced <br />, :)

I am not sure why. This site (http://www.w3schools.com/TAGS/tag_br.asp) tells me, "In HTML the <br> tag has no end tag."

oesxyl
01-02-2010, 08:17 AM
I didn't post the sites which I should have:

this one (http://users.rcn.com/**************/test66.html) has 9 errors and uses ]]

this one (http://users.rcn.com/**************/test67.html) has 13 errors and uses ]]>

no other changes have been made.



yes, it's just natural to assume the 9 will drop to at least 8 errors, and certainly not rise, after an error has been fixed, you know??
continue with the 13 errors version and forget about other, :)
the errors now are pretty clear:
- <br> must be <br />, lines 113, 119
- missing alt, multiple times, use alt=""
- line 164, add a attribute type="text/javascript"
- line 123, move ';' inside style or remove it
the page is almost valid now, :)


I am not sure why. This site (http://www.w3schools.com/TAGS/tag_br.asp) tells me, "In HTML the <br> tag has no end tag."
yes the site is right, but you don't use html, you use xhtml transitional, see the doctype, :)

best regards

cyborg360
01-02-2010, 08:28 AM
continue with the 13 errors version and forget about other, :)
the errors now are pretty clear:
- <br> must be <br />, lines 113, 119
- missing alt, multiple times, use alt=""
- line 164, add a attribute type="text/javascript"
- line 123, move ';' inside style or remove it
the page is almost valid now, :)

many thanks. I've made all those changes but *still* have ten (http://users.rcn.com/**************/test67.html).



yes the site is right, but you don't use html, you use xhtml transitional, see the doctype, :)

why doesn't this read: <!DOCTYPE xhtml PUBLIC instead of <!DOCTYPE html PUBLIC to indicate xhtml? how do you know its xhtml?

oesxyl
01-02-2010, 08:41 AM
many thanks. I've made all those changes but *still* have ten (http://users.rcn.com/**************/test67.html).
most of them are missing trailing slash, <img .... > must be <img ... />.
also you must remove " from this:


<img height="20" src="images/menu.png" alt="" "width="924" width="924" />



why doesn't this read: <!DOCTYPE xhtml PUBLIC instead of <!DOCTYPE html PUBLIC to indicate xhtml? how do you know its xhtml?
I don't understand the question. If you ask why is xhtml then the answer is: you decide to use one instead of other when you put the doctype there.
If you ask what is better to use, then will have a war, :)
I prefere xhtml strict, what is good for you I really can't answer, depend of many things, :)

best regards

cyborg360
01-02-2010, 08:45 AM
most of them are missing trailing slash, <img .... > must be <img ... />.
also you must remove " from this:


<img height="20" src="images/menu.png" alt="" "width="924" width="924" />



I don't understand the question. If you ask why is xhtml then the answer is: you decide to use one instead of other when you put the doctype there.
If you ask what is better to use, then will have a war, :)
I prefere xhtml strict, what is good for you I really can't answer, depend of many things, :)

best regards

sorry if I was unclear. I'm just wondering how you knew it was XHTML. When I created the file in expression web it was listed "html" and I see no indication within the file as it stands that it is of the type, "xhtml."

thanks for the validation tips. Now its error free!

oesxyl
01-02-2010, 08:54 AM
sorry if I was unclear. I'm just wondering how you knew it was XHTML. When I created the file in expression web it was listed "html" and I see no indication within the file as it stands that it is of the type, "xhtml."
seems that this is configured to insert a xhtml transition doctype on the top of the file and that also explain why do you have a BOM, :)
I prefere a good text editor, :)


thanks for the validation tips.
you are welcome, :)

seems that you finish the validation, :)

best regards



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum