W3C home > Mailing lists > Public > public-html@w3.org > January 2013

Re: A problem where there is none (Re: The non-polyglot elephant in the room)

From: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 25 Jan 2013 17:47:17 +0200
Message-ID: <CAJQvAudn0ZLPC60S2E6M_5LxbevU11nvVUJ8oGbMmsCr8iCp7Q@mail.gmail.com>
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Cc: www-tag@w3.org, "public-html@w3.org" <public-html@w3.org>
On Wed, Jan 23, 2013 at 3:16 PM, Leif Halvard Silli
<xn--mlform-iua@xn--mlform-iua.no> wrote:
> Henri Sivonen, Wed, 23 Jan 2013 10:09:19 +0200:
>> On Wed, Jan 23, 2013 at 1:04 AM, David Sheets <kosmo.zb@gmail.com> wrote:
>>> How are nonsensical HTML serializations acceptable but strict rules
>>> for dual HTML/XML serializations offensive?
>>
>> An example: An inline stylesheet with a child selector in it is a
>> reasonable thing to have in a document and a non-problem in text/html
>> and a non-problem in application/xhtml+xml. However, it's a problem in
>> the polyglot case.
>
> Henri, you are mistaken.
>
> * CSS: The child selector = GREATER-THAN SIGN = >. [1]
> * Polyglot <style>/<script> do "not contain a < or &". [2]

Good point. My bad.

Consider an inline script with a logical and (&&) in a condition,
then, and my general point stands.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Friday, 25 January 2013 15:47:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 25 January 2013 15:47:53 GMT