Author |
Topic  |
|
Muttley
Novice

1 Posts |
Posted - 14 Nov 2003 : 23:08:54
|
I created my index.html page and decided to run a HTML validation on it, to see if it would meet W3C HTML 4.01 to do this I had to save it as .html file once this was done, it failed the validation test. I then went to the W3C website and used their code validation checker and again it failed only this time W3C didn't even recognise it at all in either format.
If Dynamic HTML Editor is CSS1 compliant why does it have coding that is invalid and is this going to be corrected in the next upgrade so as to comply with W3C guidelines?
Example 1. <div id='ldheTraining1' name='ldheTraining1' style='position:absolute;left:20px;top:340px;width :90px;height:20px;' align='left' valign='top'>
Validaton result: The "name" attribute is not valid for the "div" element. The "valign" attribute is not valid for the "div" element.
Example 2. <img id='Training1' name='Training1' src='preview_training1.gif' alt='Training button' title='Training button' border='0' width='90' height='20'></img></a></div>
Validaton result: The closing tag for "img" was found, but the tag was never opened, has been closed too many times, or cannot have an end tag.
Results of W3C MarkUp Validation Service:
[Quote from W3C] "I was not able to extract a character encoding labeling from any of the valid sources for such information. Without encoding information it is impossible to validate the document. The sources I tried are:
The HTTP Content-Type field. The XML Declaration. The HTML "META" element. And I even tried to autodetect it using the algorithm defined in Appendix F of the XML 1.0 Recommendation.
Since none of these sources yielded any usable information, I will not be able to validate this document. Sorry. Please make sure you specify the character encoding in use". [End quote]
Is this a known issue, and will it be corrected in the next upgrade so as to be W3C compliant for both W3C HTML 4.01 and W3C CSS?
|
Edited by - on |
|
n/a
deleted
    
492 Posts |
Posted - 15 Nov 2003 : 11:20:53
|
Welcome Muttley !!!
s.dav will reply 2 you asap. |
Ciao Ciao De.  |
Edited by - on |
 |
|
s.dav
Site Admin
    
Italy
3364 Posts |
Posted - 15 Nov 2003 : 11:47:20
|
Hello Muttley, your is a very helpful advice. DHE is not really W3C compliant, now I know... When I've created Dynamic HTML Editor I only test results on some browsers (NS4 had a lot of problems) so I've adapted resulting HTML.
In the next version Dynamic HTML Editor will create a W3C compliant HTML.
Have you some useful links? |
Regards, Davide |
Edited by - on |
 |
|
Pelle
Super User
    
Italy
275 Posts |
Posted - 15 Nov 2003 : 17:12:18
|
Welcome Muttley! |
Pelle. |
Edited by - on |
 |
|
matthew
Novice

Italy
4 Posts |
Posted - 09 Feb 2004 : 23:22:12
|
quote: Originally posted by Muttley
I created my index.html page and decided to run a HTML validation on it, to see if it would meet W3C HTML 4.01 to do this I had to save it as .html file once this was done, it failed the validation test. I then went to the W3C website and used their code validation checker and again it failed only this time W3C didn't even recognise it at all in either format.
If Dynamic HTML Editor is CSS1 compliant why does it have coding that is invalid and is this going to be corrected in the next upgrade so as to comply with W3C guidelines?
. . .
Is this a known issue, and will it be corrected in the next upgrade so as to be W3C compliant for both W3C HTML 4.01 and W3C CSS?
I agree with the desire for strict standards compliance in Dynamic HTML Editor. The very first thing I liked in Dynamic HTML Editor is the clean and rather good code it spits out, and I wish it will improve further in this respect. I'd like to have it generate valid, and not just working html; and even being able to choose a specific version of the standards as a target.
btw, I didn't try to validate Dynamic HTML Editor's output, but I noticed that the example "sample 05 - roll.dhe" doesn't work for me, neither in internet explorer 6.0sp1, neither in mozilla 1.6, neither in amaya 8.1.
|
<matthew> |
Edited by - on |
 |
|
|
Topic  |
|
|
|