Page 1 of 1

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

Posted: Sun Apr 06, 2008 7:24 pm
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:

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

Posted: Mon Apr 07, 2008 1:40 am
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.

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

Posted: Mon Apr 07, 2008 4:37 am
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:

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

Posted: Mon Apr 07, 2008 5:15 am
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!