<?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>14429</bug_id>
          
          <creation_ts>2011-10-11 12:57:21 +0000</creation_ts>
          <short_desc>Named references: Point out HTML5&apos;s deviations from HTML4</short_desc>
          <delta_ts>2012-03-02 15:16:11 +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>HTML5 differences from HTML4</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/html5/named-character-references#entity-rang</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="Simon Pieters">zcorpan</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>xn--mlform-iua</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>58046</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-10-11 12:57:21 +0000</bug_when>
    <thetext>Specification: http://www.w3.org/TR/html5/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
Named character set references
(http://www.w3.org/TR/html5/named-character-references.html) in these draft
contains whole character set of html 4 specification
(http://www.w3.org/TR/REC-html40/sgml/entities.html). We can say that html 4
character set references is subset of html 5 character references. But
following case breaks this rule.

In html 4 &amp;rang; and &amp;lang is declared as below,
&lt;!ENTITY lang	  CDATA &quot;&amp;#9001;&quot; -- left-pointing angle bracket = bra,
				     U+2329 ISOtech --&gt;
&lt;!-- lang is NOT the same character as U+003C &apos;less than&apos; 
     or U+2039 &apos;single left-pointing angle quotation mark&apos; --&gt;
&lt;!ENTITY rang	  CDATA &quot;&amp;#9002;&quot; -- right-pointing angle bracket = ket,
				     U+232A ISOtech --&gt;

Contrary html 5 defines this characters as below,
rang;	U+027E9
lang;	U+027E8 

Except these two named references rest is same both in html 4 and html 5.

regards,
Yasin HINISLIOĞLU
yaskil@gmail.com

Posted from: 193.34.132.160
User agent: Mozilla/5.0 (Windows NT 6.0; rv:7.0.1) Gecko/20100101 Firefox/7.0.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58053</commentid>
    <comment_count>1</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2011-10-11 15:02:02 +0000</bug_when>
    <thetext>The change in HTML5 is probably motivated by this letter: 

   http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2007-July/012108.html

But note that  HTML4&apos;s behavour is (still) implemented in:

  * Opera 12 pre-beta
  * Internet Explorer 9 and down (but IE9&apos;s XML 
    parser implements the HTML5 behaviour)
  * Firefox 3.6 and down
  * Oxygen (using a Xerces parser)
  * XMLmind XMLeditor (using a Xerces parser)
  * XMLlint&apos;s  HTML parser
  * Text browsers: W3m, Links, elinks, Lynx
  * Lobo Java web browser (both in XHTML 1 mode
    and HTML mode)

(current) HTML5 spec is implemented in:
  * Webkit (Safari 5.1 and Chrome current)
  * Firefox 4/Firefox 7
  * The XML parser of IE9 (regardless of whether a DTD declares it)

Unknown/Not tested:
  * Konqueror
  * IE10-beta

These entities can be used to separate HTML5 parsers from other parsers ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58054</commentid>
    <comment_count>2</comment_count>
      <attachid>1034</attachid>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2011-10-11 15:06:00 +0000</bug_when>
    <thetext>Created attachment 1034
XHTML 1.0 test file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58055</commentid>
    <comment_count>3</comment_count>
      <attachid>1035</attachid>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2011-10-11 15:07:02 +0000</bug_when>
    <thetext>Created attachment 1035
HTML test file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58057</commentid>
    <comment_count>4</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2011-10-11 15:50:38 +0000</bug_when>
    <thetext>( For convenience, the XHTML test file as data URI: &lt;http://tinyurl.com/6gmedfy&gt; )

* Edited the Summary:
  1) Moved 
      http://www.w3.org/TR/html5/named-character-references#entity-rang
      to the URL field
  2) Deleted http://www.w3.org/TR/REC-html40/sgml/entities.html
  3) Added this, that shouldn&apos;t be too far from reporterer&apos;s intentions: 
      &quot;Named references: Point out HTML5&apos;s deviations from HTML4&quot;

   Motivation: To avoid that authors and implementors assume that HTML5&apos;s named character references is a strict superset of HTML5, the deviatons from HTML4 should be pointed out via footnote or other text.

    PS: Supposedly, this deviation from HTML4/XHTML1 is defendable *only* because the old  character is not too different from the new character</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64913</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-03-02 15:16: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: Accepted
Change Description: http://dev.w3.org/cvsweb/html5/html4-differences/Overview.src.html.diff?r1=1.149;r2=1.150
Rationale: Concurred with reporter&apos;s comments</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1034</attachid>
            <date>2011-10-11 15:06:00 +0000</date>
            <delta_ts>2011-10-11 15:08:40 +0000</delta_ts>
            <desc>XHTML 1.0 test file</desc>
            <filename>langrang-x.html.utf8.xhtml</filename>
            <type>application/xml</type>
            <size>818</size>
            <attacher name="Leif Halvard Silli">xn--mlform-iua</attacher>
            
              <data encoding="base64">77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCFET0NUWVBFIGh0bWwg
UFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgU3RyaWN0Ly9FTiIKICAgICJodHRwOi8vd3d3
LnczLm9yZy9UUi94aHRtbDEvRFREL3hodG1sMS1zdHJpY3QuZHRkIj4KPGh0bWwgeG1sbnM9Imh0
dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiIGxhbmc9ImVuIiB4bWw6bGFuZz0iZW4iID4KPGhl
YWQ+PG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNo
YXJzZXQ9VVRGLTgiIC8+CiA8dGl0bGU+WDEgbmFtZWQgY2hhciByZWYgdGVzdDwvdGl0bGU+Cjxz
dHlsZT4KLuKMqXtiYWNrZ3JvdW5kOmxpbWV9Ci7ijKp7YmFja2dyb3VuZDpncmVlbn0KPC9zdHls
ZT4KPC9oZWFkPgo8Ym9keT4KPGRsPgo8ZHQ+bGFuZzwvZHQ+CjxkZCBjbGFzcz0iJmxhbmc7IiAg
ID4mbGFuZzsgICAgKCZhbXA7cmFuZzsgLSB0ZXN0KTwvZGQ+CjxkZCBjbGFzcz0iJiN4MjMyOTsi
ICA+JiN4MjMyOTsgICgmYW1wO3gyMzI5OyAtIEhUTUw0KTwvZGQ+CjxkZCBjbGFzcz0iJiN4MDI3
RTg7Ij4mI3gwMjdFODsgKCZhbXA7eDAyN0U4OyAtIEhUTUw1KTwvZGQ+CjxkdD5yYW5nPC9kdD4K
PGRkIGNsYXNzPSImcmFuZzsiPiZyYW5nOyAoJmFtcDtyYW5nOyAtIHRlc3QpPC9kZD4KPGRkIGNs
YXNzPSImI3gyMzJBOyI+JiN4MjMyQTsgKCZhbXA7eDIzMkE7IC0gSFRNTDQpPC9kZD4KPGRkIGNs
YXNzPSImI3gwMjdFOTsiID4mI3gwMjdFOTsgKCZhbXA7eDAyN0U5OyAtIEhUTUw1KTwvZGQ+Cjwv
ZGw+CjwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1035</attachid>
            <date>2011-10-11 15:07:02 +0000</date>
            <delta_ts>2011-10-11 15:07:02 +0000</delta_ts>
            <desc>HTML test file</desc>
            <filename>langrang.html.utf8.html</filename>
            <type>text/html</type>
            <size>635</size>
            <attacher name="Leif Halvard Silli">xn--mlform-iua</attacher>
            
              <data encoding="base64">77u/PCFET0NUWVBFIGh0bWw+CjxodG1sIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3ho
dG1sIiBsYW5nPSJlbiIgeG1sOmxhbmc9ImVuIiA+CjxoZWFkPjxtZXRhIGNoYXJzZXQ9IlVURi04
Ii8+CiA8dGl0bGU+SDUgbmFtZWQgY2hhciByZWYgdGVzdDwvdGl0bGU+CjxzdHlsZT4KLuKMqXti
YWNrZ3JvdW5kOmxpbWV9Ci7ijKp7YmFja2dyb3VuZDpncmVlbn0KPC9zdHlsZT4KPC9oZWFkPgo8
Ym9keT4KPGRsPgo8ZHQ+bGFuZzwvZHQ+CjxkZCBjbGFzcz0iJmxhbmc7IiAgID4mbGFuZzsgICAg
KCZhbXA7cmFuZzsgLSB0ZXN0KTwvZGQ+CjxkZCBjbGFzcz0iJiN4MjMyOTsiICA+JiN4MjMyOTsg
ICgmYW1wO3gyMzI5OyAtIEhUTUw0KTwvZGQ+CjxkZCBjbGFzcz0iJiN4MDI3RTg7Ij4mI3gwMjdF
ODsgKCZhbXA7eDAyN0U4OyAtIEhUTUw1KTwvZGQ+CjxkdD5yYW5nPC9kdD4KPGRkIGNsYXNzPSIm
cmFuZzsiPiZyYW5nOyAoJmFtcDtyYW5nOyAtIHRlc3QpPC9kZD4KPGRkIGNsYXNzPSImI3gyMzJB
OyI+JiN4MjMyQTsgKCZhbXA7eDIzMkE7IC0gSFRNTDQpPC9kZD4KPGRkIGNsYXNzPSImI3gwMjdF
OTsiID4mI3gwMjdFOTsgKCZhbXA7eDAyN0U5OyAtIEhUTUw1KTwvZGQ+CjwvZGw+CjwvYm9keT4K
PC9odG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>