W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2002

Amaya parser misses badly formed code

From: John Russell <ve3ll@rac.ca>
Date: Mon, 25 Nov 2002 12:59:06 -0500
To: www-amaya@w3.org
Message-ID: <3DE21E9A.7496.8AE10B@localhost>

http://www.racersinfo.com/folders/safety/safeMain.htm
illustrates a problem within the parser where badly formed
html is not flagged as such .... it is basically
a numbered list that was terminated with a typo ....
ie 
<ol>
<li>foo</li>
<li>bar></li>
<ol>

instead of closing with a </ol>........  
Shouldn't the Amaya parser signal all errors or divergences 
from the spec, even if it doesn't cause problems in rendering.
This is in addition to the parser not warning about backslashes
being the wrong separator in image file names although it 
prevents the display of the image...  that is another parser 
problem needing fixing ....  
time to assign someone to the task of tweaking the parser ...
for example splitting html error flags  from unimplemented 
feature warnings either by text wording  or by file separation.
--- things spotted by a teacher using Amaya to evaluate students 
efforts to write valid code that respects the w3.org recommendations.
  //
John Russell, VE3LL@RAC.CA
http://home.cogeco.ca/~ve3ll (2 L's as in LLAMA)
check HTML at http://www.htmlhelp.com/tools/validator/
check CSS at http://jigsaw.w3.org/css-validator/
check JavaScript at http://www.crockford.com/javascript/jslint.html
Received on Monday, 25 November 2002 12:53:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:38 UTC