Re: Polyglot markup and authors

On Mon, Feb 18, 2013 at 2:44 AM, Leif Halvard Silli
<> 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

Henri Sivonen

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