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

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 UTC