W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > November 2009

Fwd: XHTML character entity support

From: Simon Pieters <simonp@opera.com>
Date: Mon, 02 Nov 2009 14:58:02 +0100
To: "public-xml-core-wg@w3.org" <public-xml-core-wg@w3.org>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <op.u2rs20efidj3kv@simon-pieterss-macbook.local>
See thread starting at  
http://www.w3.org/mid/CB173250-44A4-4E98-B723-101BB5673C85@webkit.org

Maybe this is something that should be specified in the XML spec so that  
there is interoperability between XHTML UAs and other XML UAs.


------- Forwarded message -------
From: "Alexey Proskuryakov" <ap@webkit.org>
To: "HTML WG" <public-html@w3.org>
Cc:
Subject: XHTML character entity support
Date: Sat, 31 Oct 2009 00:10:31 +0100


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


-- 
Simon Pieters
Opera Software
Received on Monday, 2 November 2009 13:58:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:41 UTC