Welcome to WebmasterWorld Guest from 54.198.147.79

Forum Moderators: open

Message Too Old, No Replies

XML page cannot be displayed

Suggestions on how to fix

     
2:52 am on Mar 18, 2009 (gmt 0)

Full Member

10+ Year Member

joined:Sept 18, 2004
posts: 232
votes: 0


One of my blogs is showing this error. Feed validator confirms it is not working. Any idea on how to fix

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

--------------------------------------------------------------------------------

XML document must have a top level element. Error processing resource 'http://www.example.com/blog/rss.xml'.

3:22 pm on Mar 18, 2009 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 29, 2003
posts:4061
votes: 0


XML document must have a top level element

that's your clue.

the XML document doesn't have a top level element. Or rather, it's probably the case that your XML has more than one "top level" element, ie none of them are really "top level".

There are many things that could cause this symptom, but I'd start by looking at the document in something other than IE, view the source, and see if there is any garbage being rendered before or after the XML.