<?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>28259</bug_id>
          
          <creation_ts>2015-03-22 00:07:33 +0000</creation_ts>
          <short_desc>[webvtt] Normalization and string identity issues [I18N-ISSUE-425]</short_desc>
          <delta_ts>2015-11-25 16:06:45 +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>All</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>widereview</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Silvia Pfeiffer">silviapfeiffer1</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>addison</cc>
    
    <cc>philipj</cc>
    
    <cc>silviapfeiffer1</cc>
    
    <cc>singer</cc>
    
    <cc>www-international</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact name="Web Media Text Tracks CG">public-texttracks</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>118771</commentid>
    <comment_count>0</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2015-03-22 00:07:33 +0000</bug_when>
    <thetext>Feedback by Addison Phillips from W3C I18N group:
http://lists.w3.org/Archives/Public/public-tt/2015Mar/0058.html

I18N comment: https://www.w3.org/International/track/issues/425

http://www.w3.org/TR/webvtt1/#webvtt-file-structure

Various constructs such as &apos;cue identifier&apos; are described as being:

--
...any sequence of one or more characters not containing the substring &quot;--&gt;&quot;...
--

The document makes understood that this is a sequence of Unicode characters. However, it leaves open the question of whether different Unicode character sequences that represent the same semantic string identifier (see: Charmod [1] and Charmod-Norm [2]) are considered &quot;the same&quot; or not. As currently written, different UTF-8 byte sequences are considered distinct.

We would suggest that identifiers that use distinct code point sequences are considered distinct (that is, that you are what we call a &quot;non-normalizing Specification&quot;), which suggests that you include at least a health warning about the dangers of using different character sequences.

[1] http://www.w3.org/TR/charmod/
[2] http://www.w3.org/TR/charmod-norm/
Particularly: http://www.w3.org/TR/charmod-norm/#formal-language and http://www.w3.org/TR/charmod-norm/#non-normalizing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119716</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-04-21 08:16:40 +0000</bug_when>
    <thetext>I agree with the comment. It doesn&apos;t only apply to cue identifiers (also e.g. voices, classes, cue data, etc.). Maybe we can add a new subsection under Conformance?

[[
Unicode normalization

This specification does not normalize Unicode text as part of its processing requirements.

Example: A cue with the identifier consisting of the character U+212B ANGSTROM SIGN will not match a selector targeting a cue with an ID consisting of the character U+00C5 LATIN CAPITAL LETTER A WITH RING ABOVE.
]]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120810</commentid>
    <comment_count>2</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2015-06-08 12:17:06 +0000</bug_when>
    <thetext>I&apos;ve prepared https://github.com/w3c/webvtt/pull/195</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122290</commentid>
    <comment_count>3</comment_count>
    <who name="Addison Phillips">addison</who>
    <bug_when>2015-07-27 01:11:32 +0000</bug_when>
    <thetext>The text in the pull has the right intention, but it has a serious flaw in it. It says:

--
This specification requires that Unicode text must not be normalized.
--

I think you mean to say something more like:

--
Implementations of this specification MUST NOT normalize Unicode text during processing.
--</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122449</commentid>
    <comment_count>4</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2015-08-04 11:59:15 +0000</bug_when>
    <thetext>https://github.com/w3c/webvtt/pull/195 was merged on June 10, are any further changes needed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122527</commentid>
    <comment_count>5</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2015-08-09 09:55:24 +0000</bug_when>
    <thetext>I&apos;ve made the change suggested by Addison, see https://github.com/w3c/webvtt/pull/207</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123424</commentid>
    <comment_count>6</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2015-10-01 20:56:12 +0000</bug_when>
    <thetext>Merged https://github.com/whatwg/webvtt/pull/207</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124275</commentid>
    <comment_count>7</comment_count>
    <who name="Addison Phillips">addison</who>
    <bug_when>2015-11-23 18:37:35 +0000</bug_when>
    <thetext>Satisfied by this change.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>