W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2008

Re: Amaya 9.99-4 WinXP bug: creates invalid markup

From: Laurent Carcone <carcone@w3.org>
Date: Wed, 09 Jan 2008 14:42:39 +0100
Message-ID: <4784CF4F.8000605@w3.org>
To: Bartolomé Sintes Marco <bartolomesintes@ono.com>
CC: www-amaya@w3.org

Bartolomé Sintes Marco wrote:
>
> Hi,
>
> As I explained in 
> http://lists.w3.org/Archives/Public/www-amaya/2007OctDec/0137.html
> (no answer at the moment), the new editing mode allowed the creation 
> of invalid xhtml strict documents in Amaya 9.99-3 Win XP.
>
> The bug is still present in Amaya 9.99-4 WinXP. I am sending the steps 
> to easily create an invalid document:
>
> Steps to reproduce:
> 1. Create a new XHTML Strict document
> 2. Write some text in a paragraph
> 3. Add an <hr /> element (Ctrl+h+h, for instance)
> 4. Just after the creation of the <hr /> element, insert an image
>
> The resulting document is not valid, as the img element is not inside a
> block element (a <p> element, for instance).
>
> Worst of all, this invalid document can be saved and loaded and Amaya
> does not detect the error.
>

Hello Bartolomé,

This bug is fixed in cvs version (in this case, a <p> element is added 
as parent of <img>)
Thanks for pointing this out.

Laurent Carcone
Received on Wednesday, 9 January 2008 13:49:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:39 UTC