<?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>12539</bug_id>
          
          <creation_ts>2011-04-22 13:03:12 +0000</creation_ts>
          <short_desc>The numeric references to produce the gyphs in the third column should use the characters listed in the second columns. lang (and aliases)  list (correctly) U+27ea, but the glyph is produced by #9001 (U+2329) which is not in normal form C and generates va</short_desc>
          <delta_ts>2013-05-14 21:04:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://www.w3.org/Bugs/Public/show_bug.cgi?id=14430</see_also>
    
    <see_also>https://www.w3.org/Bugs/Public/show_bug.cgi?id=18232</see_also>
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#named-character-references-table</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>19489</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Edward O&apos;Connor">eoconnor</assigned_to>
          <cc>annevk</cc>
    
    <cc>davidc</cc>
    
    <cc>eoconnor</cc>
    
    <cc>ian</cc>
    
    <cc>james</cc>
    
    <cc>mathias</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47603</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-04-22 13:03:12 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/named-character-references.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#named-character-references-table

Comment:
The numeric references to produce the gyphs in the third column should use the
characters listed in the second columns. lang (and aliases)  list (correctly)
U+27ea, but the glyph is produced by #9001 (U+2329) which is not in normal
form C and generates validation errors in (eg) validaor.nu

Posted from: 80.177.31.128
User agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Firefox/4.0.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47604</commentid>
    <comment_count>1</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2011-04-22 13:04:58 +0000</bug_when>
    <thetext>(was posted by me, adding myself to CC)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47639</commentid>
    <comment_count>2</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-04-23 11:55:33 +0000</bug_when>
    <thetext>This error is not in the single-page spec source, but instead only in the multipage version, which is generated by a python script.

The spec source at http://svn.whatwg.org/webapps/index and http://www.whatwg.org/specs/web-apps/current-work/index have this:

&lt;tr id=entity-LeftAngleBracket&gt;&lt;td&gt; &lt;code title=&quot;&quot;&gt;LeftAngleBracket;&lt;/code&gt; &lt;/td&gt; &lt;td&gt; U+027E8 &lt;/td&gt; &lt;td&gt; &lt;span class=glyph title=&quot;&quot;&gt;&amp;lang;&lt;/span&gt; &lt;/td&gt;

So it seems like the &amp;lang; is getting changed into &amp;#9001; by the python script that generates the multi-page version. But that script is not doing anything special of its own with entities, so I think the cause of the bug must either be in some python library that the script relies on.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51079</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-07-14 23:49:10 +0000</bug_when>
    <thetext>Reassigning to Philip since he runs the script in question.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53595</commentid>
    <comment_count>4</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:15:31 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60185</commentid>
    <comment_count>5</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-11-20 14:32:52 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Reassigning to Philip since he runs the script in question.

Philip? Do you think you&apos;ll have any time soon to look into this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61836</commentid>
    <comment_count>6</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-12-20 19:45:29 +0000</bug_when>
    <thetext>workaround I&apos;m using in the makefile that generates the author view is to do this:

$(PERL) -pi -e &quot;s/#9001;/#x27E8;/g&quot;
$(PERL) -pi -e &quot;s/#9002;/#x27E9;/g&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61870</commentid>
    <comment_count>7</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-12-21 10:15:01 +0000</bug_when>
    <thetext>If this is a problem on the WHATWG copy, it is probably my problem. Or foolip, but I don&apos;t think he has time to work on this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61871</commentid>
    <comment_count>8</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-12-21 10:23:48 +0000</bug_when>
    <thetext>As far as I can tell, it&apos;s a python bug or maybe lxml bug. I think the simplest way to deal with it would be to have anolis and/or the splitter script do the s/#9001;/#x27E8;/g and s/#9002;/#x27E9;/ -- or run some post-processing script (perl or sed or python or whatever) on the anolis/splitter output to do it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61872</commentid>
    <comment_count>9</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2011-12-21 10:30:56 +0000</bug_when>
    <thetext>(In reply to comment #8)
&gt; As far as I can tell, it&apos;s a python bug or maybe lxml bug. I think the simplest
&gt; way to deal with it would be to have anolis and/or the splitter script do the
&gt; s/#9001;/#x27E8;/g and s/#9002;/#x27E9;/ -- or run some post-processing script
&gt; (perl or sed or python or whatever) on the anolis/splitter output to do it.


&quot;bug&quot; is probably a bit harsh, probably fairer to say you&apos;re processing the html(5) spec with an html4 parser, but it comes to the same thing, those entity references get the old/wrong values.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61873</commentid>
    <comment_count>10</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-12-21 10:40:31 +0000</bug_when>
    <thetext>Hixie: btw, did you say the link-fixup.js script was no longer included? Because it does seem problematic if that is no longer updated. I think when foolip patched the splitter he forgot to put that file in the right place. I can make sure it will be included again if I&apos;m indeed correct about this. Let me know.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61875</commentid>
    <comment_count>11</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-12-21 10:52:30 +0000</bug_when>
    <thetext>I think I fixed it by instead of going through entities just emitting the character directly. Let me know if this is correct. http://www.whatwg.org/specs/web-apps/current-work/multipage/named-character-references.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61876</commentid>
    <comment_count>12</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-12-21 11:23:47 +0000</bug_when>
    <thetext>It&apos;s still broken. The problem is either in Python or libxml. I suppose I could do post-processing on named-character-references.html although that feels somewhat sucky. Anyone know the appropriate bash? Note that it is no longer emitting entity references but the real characters.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62192</commentid>
    <comment_count>13</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-01-02 12:27:25 +0000</bug_when>
    <thetext>The problem is with lxml (specifically using it once for single-page and then using the output of that for multi-page). James made a fix in Anolis so when Hixie generates a new copy it should go fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62193</commentid>
    <comment_count>14</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-01-02 12:28:21 +0000</bug_when>
    <thetext>Hixie, if you answer comment 10 though that would be useful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62632</commentid>
    <comment_count>15</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-01-13 00:13:00 +0000</bug_when>
    <thetext>link-fixup.js is a static script. I now symlink my own copy in, so it&apos;s no longer an issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68303</commentid>
    <comment_count>16</comment_count>
    <who name="Mathias Bynens">mathias</who>
    <bug_when>2012-05-30 09:05:02 +0000</bug_when>
    <thetext>*** Bug 17170 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75220</commentid>
    <comment_count>17</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2012-10-03 15:51:26 +0000</bug_when>
    <thetext>I will address this along with &lt;https://www.w3.org/Bugs/Public/show_bug.cgi?id=14430&gt; and &lt;https://www.w3.org/Bugs/Public/show_bug.cgi?id=18232&gt;, as I believe they are all caused by the same underlying problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76177</commentid>
    <comment_count>18</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2012-10-12 21:54:35 +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: Accepted
Change Description: https://github.com/w3c/html/commit/573ee3cd9b07533b66ff6fa6ca8b6eaf2a27d8bf
Rationale: Fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87677</commentid>
    <comment_count>19</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2013-05-14 18:54:58 +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: Accepted
Change Description: https://github.com/w3c/html-tools/commit/5f9f4a20b520da183084bb6a0c28cdac869ba0cc
Rationale: Fixed (again, as the fix for bug 20702 broke this).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87685</commentid>
    <comment_count>20</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2013-05-14 21:04:40 +0000</bug_when>
    <thetext>thanks, closing, confirm fixed in (at least)
http://www.w3.org/html/wg/drafts/html/master/syntax.html#named-character-references</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>