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

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