Re: Polyglot markup and authors

On Mon, Feb 18, 2013 at 2:44 AM, Leif Halvard Silli
<xn--mlform-iua@xn--mlform-iua.no> wrote:
> If a non-well-formed HTML document had to be be converted to XHTML
> before being processed, then why not choose to convert to polyglot
> xhtml?

Because HTML to XHTML conversion can be automated without significant
data loss (if you consider mapping form feed to another space
character insignificant and consider the munging of some identifierst
that have no defined meaning in HTML insignificant) and because you
don't need to convert to polyglot--only XHTML--to process the doc as
XHTML. HTML to polyglot conversion cannot be similarly automated,
because e.g. ampersands in inline scripts are both common and
significant.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Tuesday, 19 February 2013 10:32:46 UTC