In both Mozilla and Opera, I found that what was crucial was that the server (Apache, in this instance) was configured to deliver the file as application/xhtml+xml (+ being well formed, of course). Merely setting this in the document head was not sufficient. Thus, tidying up the code and adding "AddType application/xhtml+xml .xhtml" to httpd.conf got everything running smoothly.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan Trick
Sent: 08 April 2005 15:07
To: [email protected]
Subject: Re: [WSG] usage of new entities in dtd's

Ah, yes.  Gecko does the same thing once it's given xhtml.  only it's a bit more picky.  You have to use the xmlns="http://www.w3.org/1999/xhtml" if your going to get any styling action.
Alan Trick

Kornel Lesinski wrote:
On Thu, 07 Apr 2005 19:41:16 +0100, Alan Trick <[EMAIL PROTECTED]>  wrote:

I'm just curious if any popular browser would display this page properly
http://www.tarunz.org/~vassilii/html-is-an-sgml-dtd.html
I though Moz would, but it disapointed me.

Opera does, but only for XML (i.e. application/xhtml+xml).

I've saved it as .xml, tided it to be well-formed and got:
"Your browser (Opera/8.0 (Windows NT 5.1; U; en)) rules! Drop me a line..."
********************************************************************************   
DISCLAIMER: This e-mail is confidential and should not be used by anyone who is
not the original intended recipient. If you have received this e-mail in error
please inform the sender and delete it from your mailbox or any other storage
mechanism. Neither Macmillan Publishers Limited nor any of its agents accept
liability for any statements made which are clearly the sender's own and not
expressly made on behalf of Macmillan Publishers Limited or one of its agents.
Please note that neither Macmillan Publishers Limited nor any of its agents
accept any responsibility for viruses that may be contained in this e-mail or
its attachments and it is your responsibility to scan the e-mail and 
attachments (if any). No contracts may be concluded on behalf of Macmillan 
Publishers Limited or its agents by means of e-mail communication. Macmillan 
Publishers Limited Registered in England and Wales with registered number 785998 
Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS   
********************************************************************************

Reply via email to