W3C home > Mailing lists > Public > www-html@w3.org > July 2001

RE: XML declatarion

From: Baker, Thomas <Thomas.Baker@plc.cwplc.com>
Date: Tue, 10 Jul 2001 13:38:44 +0100
Message-ID: <F14E5B33AC4AD511BA7F00508BB9F4221415AD@GBCWGRLSM001>
To: "'Carr, Jeff'" <Jeff.Carr@lrn.va.gov>, "'rafal.marczewski@fastmedia.it'" <rafal.marczewski@fastmedia.it>, www-html@w3c.org
This is just a bug.  For this reason the <? line has been made optional as I
understand it from www.w3.org

The DOCTYPE statement still serves as a statement of intent.

T

-----Original Message-----
From: Carr, Jeff [mailto:Jeff.Carr@lrn.va.gov]
Sent: 09 July 2001 16:11
To: 'rafal.marczewski@fastmedia.it'
Cc: www-html@w3c.org
Subject: RE: XML declatarion


[snip]
>IE 5.5 for Win:  have seen the code and non rendered
[snip]
>I have removed the first line of code (XML declaration) and, I think,
>that it's working.
[snip]

I think that you probably don't have an <html> tag.

If you don't it will render it as straight XML instead of XHTML.

However if you don't have an <?xml tag, the browser assumes html.

Jeff Carr


**********************************************************************
This message may contain information which is confidential or privileged.
If you are not the intended recipient, please advise the sender immediately
by reply e-mail and delete this message and any attachments
without retaining a copy.  

**********************************************************************
Received on Tuesday, 10 July 2001 08:40:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:49 GMT