Forum
Welcome, Guest
Please Login to access forum.
Re:Raw xml sitemap, empty line at the start (1 viewing) 
Go to bottom
TOPIC: Re:Raw xml sitemap, empty line at the start
#6776
H&S Corp
Fresh Boarder
Posts: 1
User Offline
Raw xml sitemap, empty line at the start Karma: 0  
Hello,
When i open our raw xml sitemap, i got this error :

QUOTE:
This page contains the following errors:

error on line 2 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.


After checking the forum about it, i can confirm that is due to an empty line at the start of the document.



It doesn't seems to be an issue for google or bing, but it's know that their fetcher can be tricky and sensible, so if we can resolve this, it will limit the risk of rejection in the futur.

What can we do to resolve this ?

Regards.
 
Logged Logged  
  The administrator has disabled public write access.
#6777
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:Raw xml sitemap, empty line at the start Karma: 79  
Hello,

It means that you have a bugged system plugin installed on your Joomla that add extra spaces at the beginning of the Joomla response, provided that no Joomla core files have been altered. Opening your standard html pages you will probably get that carriage return at the beginning too, although it's not a problem for HTML and browsers, as you may know it could be for XML and parsers.

Refer to this FAQ for the list of potential known bugged plugins: http://storejextensions.org/faq/xml-sitemap-results-not-well-formatted.html

Other than this, you need a quite meticulous debugging of your system plugins to identify the responsible of this extra carriage return.

Best regards

John
 
Logged Logged  
  The administrator has disabled public write access.
Go to top