W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2012

Re: [whatwg] Null characters

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 9 Oct 2012 13:49:01 +0200
Message-ID: <CADnb78h=r-j1PfDGmzpAHR+F0cngjC91xJrssPfXFsUiUMuD1g@mail.gmail.com>
To: Cameron Zemek <grom@zeminvaders.net>
Cc: whatwg@whatwg.org, Ian Hickson <ian@hixie.ch>
On Tue, Oct 9, 2012 at 6:09 AM, Cameron Zemek <grom@zeminvaders.net> wrote:
> I assume I'm probably missing some historical reason for this, its
> just struck me as needless complexity. In other words, what good
> reasons exist for ignoring null characters in certain portions of the
> HTML specification?

As Ian said the specification was originally written in the simpler
way. It was then implemented and shipped in Gecko, broke a few sites,
and the somewhat more complex behavior which is more compatible with
legacy user agent handling was introduced. It's really not that
different from parsing <image> as <img> or <table><p> as <p><table>.


-- 
http://annevankesteren.nl/
Received on Tuesday, 9 October 2012 11:49:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT