On Tue, 17 May 2005 12:37:33 +0100, Peter J. Farrell <[EMAIL PROTECTED]> wrote:

&#174;

You should avoid all named entities in XHTML, except quot, amp, lt, gt.
For all other characters use unicode encoding or numeric unicode entity reference.


Then why does the W3 use it in their example?

It's not illegal, just less-than-perfect.

The problem is that you need to load DTD to recognize named entities.

Without named entities XHTML documents may work as standalone XML, and that makes processing of them a bit easier (and easy processing is why XHTML was created in the first place).

Usually it's best to use UTF-8 instead of entities - you get best readability and most efficient encoding of special characters.

--
regards, Kornel Lesiński
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to