Welcome to WebmasterWorld Guest from 54.159.50.111

Forum Moderators: incrediBILL

Message Too Old, No Replies

No <?xml = ie Crash

     
10:46 am on Oct 16, 2006 (gmt 0)

New User

5+ Year Member

joined:July 29, 2006
posts:8
votes: 0


I have a really odd problem.
The start of my pages have always been:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

My problem is when I do not add the add <?xml ... I.E. displaies the page incorectly and then crashes!

Does anyone know what <?xml version="1.0" encoding="iso-8859-1"?> Does. and why it crashes my browser when I don't have it?

Thanks loads

12:57 pm on Oct 16, 2006 (gmt 0)

Junior Member

5+ Year Member

joined:Sept 12, 2006
posts:140
votes: 0


That line is a xml declaration and cannot be used with IE. IE chokes on it and goes into quirks mode. Only modern browsers handle it properly. However, why IE crashes when you remove it does not make sense.