<?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>22447</bug_id>
          
          <creation_ts>2013-06-25 07:07:05 +0000</creation_ts>
          <short_desc>&quot;using entity references for characters in XHTML documents is unsafe&quot; should better be &quot;using named character references for characters in XHTML documents is unsafe&quot;</short_desc>
          <delta_ts>2013-07-04 05:54:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#writing-xhtml-documents</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>89788</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-06-25 07:07:05 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-xhtml-syntax.html
Multipage: http://www.whatwg.org/C#writing-xhtml-documents
Complete: http://www.whatwg.org/c#writing-xhtml-documents
Referrer: 

Comment:
&quot;using entity references for characters in XHTML documents is unsafe&quot; should
better be &quot;using named character references for characters in XHTML documents
is unsafe&quot;

Posted from: 180.7.144.181 by mike@w3.org
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.0 Safari/537.36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89789</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2013-06-25 07:08:37 +0000</bug_when>
    <thetext>Maybe this is also what the reporter of bug 22444 was asking about...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89794</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-06-25 09:19:02 +0000</bug_when>
    <thetext>...other than the 5 predefined ones...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90176</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-07-02 23:08:09 +0000</bug_when>
    <thetext>*** Bug 22444 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90177</commentid>
    <comment_count>4</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-07-02 23:10:20 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8016.
Check-in comment: Make the XML terminology a bit more precise.
http://html5.org/tools/web-apps-tracker?from=8015&amp;to=8016</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90209</commentid>
    <comment_count>5</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2013-07-03 02:37:02 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Checked in as WHATWG revision r8016.
&gt; Check-in comment: Make the XML terminology a bit more precise.
&gt; http://html5.org/tools/web-apps-tracker?from=8015&amp;to=8016

-  the DOCTYPE. This means, for example, that using entity references
-  for characters in XHTML documents is unsafe if they are defined in
+  the DOCTYPE. This means, for example, that using character references
+  in XHTML documents is unsafe if they are defined in

How come just &quot;using character references&quot; and not &quot;using named character references&quot;?

I&apos;d think the person who reported bug 22444 would probably now ask, &quot;does &apos;character reference&apos; refer to numeric character references or named character references?&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90279</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-07-03 22:35:40 +0000</bug_when>
    <thetext>Woops. This bug is actually invalid. We&apos;ve been misreading the XML spec, and the old text was correct.

There&apos;s no such thing as &quot;named character references&quot; in XML. There&apos;s only numeric ones (and they&apos;re generally just called &quot;character references&quot;). &quot;Entity references&quot; covers all the named ones.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90280</commentid>
    <comment_count>7</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-07-03 22:35:48 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8032.
Check-in comment: Oops, reverse r8016. I misread the XML spec.
http://html5.org/tools/web-apps-tracker?from=8031&amp;to=8032</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90330</commentid>
    <comment_count>8</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2013-07-04 05:54:11 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; Woops. This bug is actually invalid. We&apos;ve been misreading the XML spec, and
&gt; the old text was correct.
&gt; 
&gt; There&apos;s no such thing as &quot;named character references&quot; in XML. There&apos;s only
&gt; numeric ones (and they&apos;re generally just called &quot;character references&quot;).
&gt; &quot;Entity references&quot; covers all the named ones.

So if we&apos;re confused about, clearly I think it&apos;s still likely to be confusing to some (a lot) readers of the spec. See bug 22574 for a suggestion about how to make it less confusing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>