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

Re: error code when insering a video using video tag

From: Laurent Carcone <carcone@w3.org>
Date: Tue, 08 Jan 2013 11:41:59 +0100
Message-ID: <50EBF7F7.1010200@w3.org>
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
CC: "www-amaya@w3.org" <www-amaya@w3.org>
Le 06/01/2013 23:47, Leif Halvard Silli a écrit :
> Laurent Carcone, Sun, 06 Jan 2013 22:46:58 +0100:
>> Le 06/01/13 21:01, Leif Halvard Silli a écrit :
>>> I’m not sure it adds them in the DOM tree: My impression is that they
>>> are not possible to style, in Amaya.
>> The saved file is generated from the internal tree (what I called dom
>> tree), an element must have been added in it to be saved.
> OK.
>>> Also, "less strict" doesn’t seem like the correct word — I’m not sure
>>> it can be justified that it delete anything when using the XHTML parser
>>> - that seems like a bug too.
>> I agree, maybe not the correct word. What I meant is that the xml
>> parser we use in Amaya for xhtml documents checks that the document
>> is well-formed and valid according to the xhtml dtd of the document.
>> As Amaya is mainly an editor and we didn't want to generate invalid
>> documents, invalid elements/attributes are deleted.
> *Removing* things is nevertheless destructive - it seems like a bad
> decision to make it do that without *always* warning first.

Users are always warned when the input document is not well-formed or 
when some element/attributes are invalid or not supported.
As I said, the reason was to not let Amaya generate invalid documents.

Received on Tuesday, 8 January 2013 10:42:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:31:01 UTC