W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] Using the HTML5 DOCTYPE as a new quirksmode switch

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Sat, 10 Mar 2007 09:37:56 -0500
Message-ID: <45F2C2C4.9050609@metalab.unc.edu>
Simon Pieters wrote:

> Why would you need to declare entities, though?

If you don't define entities, then the parser can't resolve them. This 
is for entities such as &copy; and &trade;. There are only five entities 
that XML parsers recognize out of the box without a DTD: &amp;, &lt;, 
&gt;, &apos;, and &quot;.

-- 
?Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
Received on Saturday, 10 March 2007 06:37:56 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC