IE + application/xml *should* be working...

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

IE + application/xml *should* be working...

Post by JAB Creations »

Load my site's url below which will force it to be served as application/xml...
http://www.jabcreations.com/home/home-n ... diatype=ax

I've cleared cache/cookies and have rebooted but when I visit the live version of my site I keep getting...
Cannot view XML input using XSL style sheet.
It works just peachy fine locally though. I've updated all the files of course. I figure by posting the problem will either automatically dissolve or I'll come across some sort of foolishness :roll:, I get that sort of vibe sometimes. :mrgreen:
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Re: IE + application/xml *should* be working...

Post by matthijs »

There's an error somewhere. I also get the "yellow screen of death" using Firefox.

The validator tells the following
Conflict between Mime Type and Document Type

The document is being served with the application/xml Mime Type which is not a registered media type for the XHTML 1.1 Document Type. The recommended media type for this document is: application/xhtml+xml
Maybe you can look at that.
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: IE + application/xml *should* be working...

Post by JAB Creations »

The problem was Gecko does not load XSL stylesheets URL's with the base element in consideration...so it was a wrong path issue. It was a random guess, wasn't looking at any 404 reports or anything. Opera worked fine...any way when I made the path absolute both Gecko and Firefox played nice again. :mrgreen:
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: IE + application/xml *should* be working...

Post by JAB Creations »

Nope...I resolved the issue with the path however now Gecko is still serving the page as text/xml when PHP is telling it to serve the page as application/xml!
Post Reply