W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: CR and LF in the input stream / as NCRs (detailed review of parsing algorithm)

From: Michael A. Puls II <shadow2531@gmail.com>
Date: Mon, 30 Jul 2007 22:22:26 -0400
Message-ID: <6b9c91b20707301922m28b4b282mc36e27f851252555@mail.gmail.com>
To: "Simon Pieters" <simonp@opera.com>
Cc: public-html <public-html@w3.org>

On 7/30/07, Simon Pieters <simonp@opera.com> wrote:
>
> (This is part of my detailed review of the parsing algorithm.)
>
> In http://www.whatwg.org/specs/web-apps/current-work/#consume the spec
> states that &#13; is a parse error. Is this intentional?
>
>
> The handling of &#10;, &#13;, CRs and LFs, and their combinations, seems
> to be a bit different in browsers.
>
>
> http://simon.html5.org/test/html/parsing/tokenisation/entities/carriage-return/demo.htm

To add, see http://shadow2531.com/opera/testcases/cdata/002.html

In that situation, what Firefox and Safari give is correct IMO. IE and
Opera are way off.

-- 
Michael
Received on Tuesday, 31 July 2007 02:22:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:03 GMT