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

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