Active
Project:
XML sitemap
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2012 at 10:16 UTC
Updated:
21 Feb 2012 at 15:10 UTC
Jump to comment: Most recent
Hi when i open my sitemap page
http://newstatesmandev.devcloud.acquia-sites.com/sitemap.xml
getting the error like
XML Parsing Error: XML or text declaration not at start of entity
Location: http://newstatesmandev.devcloud.acquia-sites.com/sitemap.xsl
Line Number 3, Column 1:
what may be the problem and what i need to solve this issue.
i am using drupal 6.2 and xml sitemap 6.x-2.0
Comments
Comment #1
Anonymous (not verified) commentedThis needs added to the README file as a FAQ as well.
You have a module(s) that does not start line 1 column 1 with <?php and thus causes the output of the sitemap.xml to not start on line 1 column 1.
You'll need to find the module and remove the blank lines at the front of the code files; .module, .inc, etc.
It could also be a theme file.
Comment #2
dave reidFeel free to edit http://drupal.org/node/482550 whenever with this.
Comment #3
betz commentedcan confirm this, grep to the rescue!