• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Configure IE to display XML?

 
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a page which should generate a plain XML, and it does. It looks like a blank page in IE, but when I do "View Source" in the browser -- the XML looks perfect. What should be done to have the page look in the browser as an XML file, rather than a blank screen? Thanks.
[ February 24, 2004: Message edited by: Bear Bibeault ]
 
Sheriff
Posts: 67750
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmmm, clearly not a JSP issue. I guess the HTML/Javascript forum is as close as we have to a 'browser problems' forum, so I'm moving this topic there.
I've also taken the liberty of changing the subject so you'll get more on-topic hits.
[ February 24, 2004: Message edited by: Bear Bibeault ]
 
Dmitry Melnik
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I do not think it's a browser configuration issue, since I can view other XML files. I belive it's about the way the page being generated.
 
Bear Bibeault
Sheriff
Posts: 67750
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Then perhaps Eric could move this to the XML forum for you.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My guess would be that the web server is missing a MIME type mapping from .xml to "text/xml", which causes IE to try interpreting the file as a malformed "text/html".
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Lasse Koskela:
My guess would be that the web server is missing a MIME type mapping from .xml to "text/xml", which causes IE to try interpreting the file as a malformed "text/html".


Then we need to know which web server Dmitry Melnik is using... But he said that he can view other XML pages. If so, I think the problem is with the page itself... Maybe in DOCTYPE of the XML page? I'm not sure...
Dmitry Melnik, why don't u provide us the content of that XML page so that we can help you more efficiently....
 
author
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree. This is most likely a problem with MIME types. See Item 45: "Pick the correct MIME media type"
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have problem configuring netscape with XML. How do I do that?
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Pradeep Bhat:
I have problem configuring netscape with XML. How do I do that?


Hi Pradeep,
What kind of configuration problem? Doesn't it show the contents properly or sthing?
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Doesn't it show the contents properly or sthing?


It displays the XML as plain text.
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Pradeep Bhat:
It displays the XML as plain text.


And what it should display?
Also, if the browser is supposed to do XSL transformation, could you post the beginning of your XML document which contains the reference to the stylesheet.
 
No more fooling around. Read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic