Re: [whatwg] Server-Sent Events parsing issue

2010-11-25 Thread Anne van Kesteren
On Thu, 14 Oct 2010 14:23:41 +0200, ATSUSHI TAKAYAMA taka.atsu...@googlemail.com wrote: On Wed, Oct 13, 2010 at 10:00 AM, Anne van Kesteren ann...@opera.com wrote: On Tue, 12 Oct 2010 06:41:59 +0200, ATSUSHI TAKAYAMA taka.atsu...@googlemail.com wrote: It's a minor error in the spec in the

Re: [whatwg] Server-Sent Events parsing issue

2010-11-25 Thread ATSUSHI TAKAYAMA
On Thu, Nov 25, 2010 at 11:55 AM, Anne van Kesteren ann...@opera.com wrote: On Thu, 14 Oct 2010 14:23:41 +0200, ATSUSHI TAKAYAMA taka.atsu...@googlemail.com wrote: On Wed, Oct 13, 2010 at 10:00 AM, Anne van Kesteren ann...@opera.com wrote: On Tue, 12 Oct 2010 06:41:59 +0200, ATSUSHI

Re: [whatwg] Server-Sent Events parsing issue

2010-11-25 Thread Anne van Kesteren
On Thu, 25 Nov 2010 18:21:35 +0100, ATSUSHI TAKAYAMA taka.atsu...@googlemail.com wrote: I would say the simpler the rule is, the better. So a line without colon should be ignored. Also for the example in the spec; -a single data: line followed by an empty line should fire a message event with

Re: [whatwg] Server-Sent Events parsing issue

2010-10-14 Thread ATSUSHI TAKAYAMA
Thanks Anne, On Wed, Oct 13, 2010 at 10:00 AM, Anne van Kesteren ann...@opera.com wrote: On Tue, 12 Oct 2010 06:41:59 +0200, ATSUSHI TAKAYAMA taka.atsu...@googlemail.com wrote: It's a minor error in the spec in the Server-Sent Events spec.

Re: [whatwg] Server-Sent Events parsing issue

2010-10-13 Thread Anne van Kesteren
On Tue, 12 Oct 2010 06:41:59 +0200, ATSUSHI TAKAYAMA taka.atsu...@googlemail.com wrote: It's a minor error in the spec in the Server-Sent Events spec. http://dev.w3.org/html5/eventsource/#event-stream-interpretation When processing a line with only data:, the data buffer will be the empty

[whatwg] Server-Sent Events parsing issue

2010-10-11 Thread ATSUSHI TAKAYAMA
It's a minor error in the spec in the Server-Sent Events spec. http://dev.w3.org/html5/eventsource/#event-stream-interpretation When processing a line with only data:, the data buffer will be the empty string and the LF character added at the process the field stage. When dispatching the event,