W3C home > Mailing lists > Public > public-html@w3.org > October 2009

XHTML character entity support

From: Alexey Proskuryakov <ap@webkit.org>
Date: Fri, 30 Oct 2009 16:10:31 -0700
Message-id: <CB173250-44A4-4E98-B723-101BB5673C85@webkit.org>
To: HTML WG <public-html@w3.org>

As noted in <http://www.whatwg.org/specs/web-apps/current-work/#writing-xhtml-documents 
 >, there is no guarantee that authors can use character entity  
references such as &nbsp; in XHTML, because XML parsers are not  
required to process external DTD subsets. This works in at least  
Firefox, Safari and Opera, but it's depressing that such a major  
feature is not interoperable per the spec.

I think that it's important to guarantee that character entity  
references work in XHTML (even when parsing fragments, e.g. with  
innerHTML - which doesn't currently work in Firefox or Safari, and is  
confusing to authors).

For obvious performance reasons, it is impractical to ask UAs to  
utilize validating XML parsers, so this guarantee may need to be  
specified in a way that doesn't require full DTD support.

- WBR, Alexey Proskuryakov
Received on Friday, 30 October 2009 23:11:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:09 UTC