<?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>19465</bug_id>
          
          <creation_ts>2012-10-11 11:11:37 +0000</creation_ts>
          <short_desc>Parsing issue with --&gt; in cue</short_desc>
          <delta_ts>2012-10-13 05:15:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>TextTracks CG</product>
          <component>WebVTT</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cyril Concolato">cyril.concolato</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-texttracks</cc>
    
    <cc>silviapfeiffer1</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75963</commentid>
    <comment_count>0</comment_count>
    <who name="Cyril Concolato">cyril.concolato</who>
    <bug_when>2012-10-11 11:11:37 +0000</bug_when>
    <thetext>Bug https://www.w3.org/Bugs/Public/show_bug.cgi?id=17558 describes that --&gt; needs to be banned from the allowed syntax in cue data. However, when XML data is carried in metadata tracks, the XML comments end tag uses the sequence of characters --&gt;. This should be acceptable to a parser, since metadata tracks don&apos;t use escapes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76015</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-11 17:28:03 +0000</bug_when>
    <thetext>We don&apos;t support XML comments or empty lines in cue payloads. Both cause the parser to assume the cue has ended.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76035</commentid>
    <comment_count>2</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2012-10-11 21:14:20 +0000</bug_when>
    <thetext>I can understand why we wouldn&apos;t want to support empty lines. But I think we could tolerate --&gt; if we would only look for the next &quot;--&gt;&quot; after the next empty line. The less restrictions we pose on cue text, the less broken files we will get.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76070</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-10-12 08:20:38 +0000</bug_when>
    <thetext>https://www.w3.org/Bugs/Public/show_bug.cgi?id=14550</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76071</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-10-12 08:21:40 +0000</bug_when>
    <thetext>Should we have different parsing rules for metadata tracks?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76156</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-12 19:00:55 +0000</bug_when>
    <thetext>You don&apos;t know what&apos;s a metadata track when parsing. It would be crazy to take a WebVTT file linked to as a metadata cue file, switch it to be a caption file, and suddenly find you had different cues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76209</commentid>
    <comment_count>6</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2012-10-13 05:15:10 +0000</bug_when>
    <thetext>If we make it dependent on the presence of a &quot;Kind: metadata&quot; marker in the header of the file, we could do that.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>