[Bug 12235] Make <xmp> conforming

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian@hixie.ch

--- Comment #11 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-05-08 03:31:31 UTC ---
Proposal: allow <xmp> as an element with the same semantics as <pre> but
keeping the special parsing rules in HTML.

Pros: Experienced authors who are writing specs, HTML tutorials, programming
language blogs, or other pages containing snippets of code that can be expected
to contain < and & characters get to save the time of escaping their <s and &s.

Cons: Complicates the language, introduces yet another polyglot difference, may
be mistreated as a security feature, a pain to use if you have to later add
markup inside the block (e.g. to highlight a section), doesn't support
characters outside the character encoding of the page (as it can't get
entities).

I agree with Henri that this is a tough call.

-- 
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 Sunday, 8 May 2011 03:31:37 UTC