[Bug 13309] HTML and XHTML handle newline differently

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13309

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |ian@hixie.ch
         Resolution|                            |WONTFIX

--- Comment #10 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-08-09 23:17:46 UTC ---
(In reply to comment #2)
> Under Section 8.1.3.1 of HTML 5:
> 
> "Where character references are allowed, a character reference of a U+000A LINE
> FEED (LF) character (but not a U+000D CARRIAGE RETURN (CR) character) also
> represents a newline."
> 
> In other words, &#xD; is ignored.

No, what you quote is not at all saying that &#xD; is ignored. It's saying that
if you want to represent a newline, you can use &#xA;, but not &#xD;.

If you read the parser section, you'll see &#xD; turns into a U+000D character,
which doesn't represent anything useful in HTML.


EDITOR'S RESPONSE: This is an Editor'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: Rejected
Change Description: no spec change
Rationale: Spec is as intended.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 9 August 2011 23:17:52 UTC