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

[whatwg] ' in text/html

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 11 Jun 2007 20:34:32 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.0706112033190.22906@dhalsim.dreamhost.com>
On Tue, 25 Apr 2006, Henri Sivonen wrote:
> > > 
> > > Should "&apos;" be a valid charater reference in text/html? If not, 
> > > what would be correct error handling?
> > 
> > I went with making it valid, since it's valid in XML.
> 
> That's problematic, because allowing it as a conforming entity reference 
> does not add any expressiveness to the language but makes conformance 
> checking less useful as an authoring aid (because &apos; fails in IE and 
> such failure could be trivially avoided).

True, but I think having the predefined XML entities be a subset of the 
HTML ones on the long term is better, even if it does cause short-term 
minor pain.


> I think I'm going to emit a warning even if &apos; is conforming.

That seems reasonable.


> I am uncomfortable with &LT;, &GT;, &AMP;, &QUOT; and &COPY; on 
> aesthetic grounds, but at least they work interoperably.

Yeah.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 11 June 2007 13:34:32 UTC

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