Re: error code when insering a video using video tag
Laurent Carcone <[email protected]> Tue, 08 Jan 2013 11:41:59 +0100
| Newsgroups | gmane.comp.web.amaya.general |
|---|---|
| Message-ID | <[email protected]> |
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. Thanks, Laurent