W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2001

Why is Amaya not correcting missing end tag error?

From: Ian Jacobs <ij@w3.org>
Date: Fri, 13 Apr 2001 17:07:49 -0400 (EDT)
Message-ID: <3AD76AA0.9EE2AE07@w3.org>
To: www-amaya@w3.org
Cc: ij@w3.org
Hello,

The Amaya FAQ [1] says:

  "Amaya cannot be used to check documents validity. It accepts 
   valid and invalid documents and tries to dynamically correct
   detected errors. For example it's able to add missing end-tags
   and to move misplaced elements."

[Question: What is the relationship between that correction
 and tidy's [2] functionality/heuristics?]

I downloaded the W3C home page, whose DOCTYPE is

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

and edited it in emacs, removing one ending </li>. Amaya 
was not able to correct the error (it just assumed I meant
to continue the <li> and it choked much later on). Tidy
did the right thing. I think that if tidy can be shown to
do the right thing in most cases, that it should be integrated
into Amaya.

 - Ian

P.S. I'm sorry if this has already been discussed.

[1] http://www.w3.org/Amaya/User/FAQ.html
[2] http://www.w3.org/People/Raggett/tidy/
-- 
Ian Jacobs (jacobs@w3.org)   http://www.w3.org/People/Jacobs
Tel:                         +1 831 457-2842
Cell:                        +1 917 450-8783
Received on Tuesday, 17 April 2001 03:40:54 UTC

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