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

Re: Why is Amaya not correcting missing end tag error?

From: Vincent Quint <Vincent.Quint@inrialpes.fr>
Date: Thu, 19 Apr 2001 08:59:52 +0200
To: john.darrington@ot.com.au
Cc: Ian Jacobs <ij@w3.org>, www-amaya@w3.org
Message-Id: <20010419065953.E3F7EC639@lihue.inrialpes.fr>
Amaya makes a difference between HTML and XHTML.

When it parses an HTML document it tries to recover from some
common errors and fix them. Should it not do that, it would
only display very few Web pages.

When the document claims to be XHTML, it checks the document
for well-formedness and stops parsing as soon as it encounters
an error.  The idea is to help XHTML to deploy in a cleaner
way as HTML, by encouraging authors to fix XML errors.

In both cases, Amaya reports errors in the log displayed by the
`show parsing errors' command. This log also contains warnings
about elements or attributes that are not supported (yet) by
Amaya. I think this is a useful feature.

The passage of the FAQ you quote is applies only to HTML documents,
not to XHTML documents. I'll update it.

Thanks for pointing this out.

Vincent.

John Darrington wrote:
> On Fri, Apr 13, 2001 at 05:07:49PM -0400, Ian Jacobs wrote:
>     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."
> 
> 
> If this is still true, then what's the `show parsing errors' item under the 
> Veiws menu for ?????
> 
> Perhaps the FAQ is out of date.
> 
> 
> -- 
> John Darrington                                 Phone: +61 8 9322 0507
> Open Telecommunications,                        Fax:   +61 8 9321 0722
> Level 5, 22 Mount St.,
> Perth, WA 6000,                                 Webpage:    
> Australia                                       http://www.ot.com.au/
Received on Thursday, 19 April 2001 03:00:35 UTC

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