I am working on a set of XML files, and when I force IE8 to render them in Standards Mode (with the Developer Toolbar), the pages work fine. However, the default mode is Quirks. I tried forcing the mode type with the meta tag specified at the MSDN site (http://msdn.microsoft.com/en-us/library/cc288325%28VS.85%29.aspx), but it apparently does not override the rendering mode for XML files.

Using a registry key, group policy, or any other method to force specific computers to render in standards mode is not an option, because these pages will be accessible to the general public and need to render correctly on any machine.

Here are a few links to files that work correctly in Firefox, Chrome, Safari, and Opera but don't work right in IE.

http://admissions.ku.edu/credit/transfer/xml/al.xml
http://admissions.ku.edu/credit/transfer/xml/schools/H0000563.xml
http://admissions.ku.edu/credit/transfer/xml/international.xml

Note: a few of the files linked from some of the pages on the site are still not rendering as valid XML. This is a separate issue being worked on by one of my co-workers. I am simply trying to figure out how to force IE to render XML files in standards mode.

Thanks in advance for any help.

Bill Parrott
Web Developer, University of Kansas
bparrott@ku.edu

2 answers

0
points

Don't you just love IE? Sadly, this is the only thing I can find for you:

http://stackoverflow.com/questions/1305875/doctype-for-xml-standards-compliant-mode-in-ie

You could take the xml and load it through php, and then render the page as a php file. Not exactly the answer you were looking for, sorry.

Answered over 6 years ago by Tom Guthrie
0
points

That was my fear. I am comfortable writing a php script to render the XML files as flat HTML, but I just don't have much time to work on that before this site is to go live.

Thanks for your help.

Answered over 6 years ago by ChimericDream