<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>11669</bug_id>
          
          <creation_ts>2011-01-05 09:41:28 +0000</creation_ts>
          <short_desc>Section: &quot;Parsing an event stream&quot; It looks like their is a mistake in this ABNF description, &quot;end-of-line&quot; is repeated:  stream        = [ bom ] *event event         = *( comment / field ) end-of-line comment       = colon *any-char end-of-line field</short_desc>
          <delta_ts>2011-02-07 22:37:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - Server-Sent Events (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#top</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>alexandre.morgaut</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact name="Alexandre Morgaut">alexandre.morgaut</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>43818</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-01-05 09:41:28 +0000</bug_when>
    <thetext>Specification: http://dev.w3.org/html5/eventsource/
Section: http://www.whatwg.org/specs/web-apps/current-work/complete.html#top

Comment:
Section: &quot;Parsing an event stream&quot;

It looks like their is a mistake in this ABNF description, &quot;end-of-line&quot; is
repeated: 

stream	      = [ bom ] *event
event	      = *( comment / field ) end-of-line
comment       = colon *any-char end-of-line
field	      = 1*name-char [ colon [ space ] *any-char ] end-of-line
end-of-line   = ( cr lf / cr / lf / eof )
eof	      = &lt; matches repeatedly at the end of the stream &gt;

If &quot;end-of-line&quot; is set at the end of the &quot;event&quot; description, it shouldn&apos;t be
repeated at the end of the &quot;comment&quot; and &quot;field&quot; descriptions.

&quot;eof&quot; could be proposed as an alternative of &quot;end-of-line&quot; instead of being
part of the &quot;end-of-line&quot; description

Update proposal:

stream	      = [ bom ] *event
event	      = *( comment / field ) (end-of-line / eof)
comment       = colon *any-char
field	      = 1*name-char [ colon [ space ] *any-char ]
end-of-line   = ( cr lf / cr / lf )
eof	      = &lt; matches repeatedly at the end of the stream &gt;


Posted from: 81.57.192.30</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45200</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-02-07 22:37:11 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: It&apos;s repeated because &lt;event&gt;s are separated from each other by a blank line. Your proposed BNF puts all the comments and fields on one line, which is unparseable.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>