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

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]

> It doesn't make sense to create a problem where
> there is none

Could not have said it any better.

[1] http://www.w3.org/TR/CSS2/selector.html#child-selectors
[2] http://www.w3.org/TR/html-polyglot/#in-line-script-and-style
-- 
leif halvard silli

Received on Wednesday, 23 January 2013 13:16:55 UTC