On 17 May 2005, at 8:37 pm, Peter J. Farrell wrote:
Kornel Lesinski wrote:
®
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?
http://www.w3.org/TR/xhtml1/ section c12
It is valid for text/html (aka tagsoup). If you serve the document as application/xhtml+xml, then the browser should ignore named entities except the 5 ones (quot, amp, lt, gt and apos).
Philippe ---/--- Philippe Wittenbergh now live : <http://emps.l-c-n.com/> code | design | web projects : <http://www.l-c-n.com/> IE5 Mac bugs and oddities : <http://www.l-c-n.com/IE5tests/>
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************