W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2008

[whatwg] [Whatwg] Parsing: Greater-than characters in doctype

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 14 Feb 2008 05:18:58 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0802140517330.20115@hixie.dreamhostps.com>
On Sun, 29 Jul 2007, Simon Pieters wrote:
> On Fri, 29 Jun 2007 11:56:57 +0200, Simon Pieters <zcorpan at gmail.com> wrote:
> 
> > IE seems to not emit the token for > that is in quotes anywhere for both
> > doctypes and bogus comments (or it treats doctypes as bogus comments):
> > 
> >     <!doctype ">" >
> >     <! ">" >
> >     <? ">" >
> >     </ ">" >
> 
> (BTW, IE actually treats the last one as an element.)
> 
> IE's behavior is weirder still, it seems...
> 
>    http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21%20%20%22%22%22%3E%22%3E
>    http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21%20%20%22%22%20%22%3E%22%3E
> 
> > This does not apply to these:
> > 
> >     <!-- "-->" -->
> >     <% "%>" %>

I looked into these, and frankly, I'm reluctant to add them to the spec. I 
haven't seen a huge number of sites that depend on these, and the other 
browsers don't seem to particularly require it.

Unless someone has a good reason to do otherwise, I say we skip this.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 13 February 2008 21:18:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:39 UTC