Files created with sitemap give an error on Google
Brought to you by:
canajun2eh,
yalnifj
As reported in message "Google Sitemap - Invalid XML attribute" the generated sitemap files give an error when imported by Google. The message is Line 3. Status:
Invalid XML attribute. The XML attribute of this tag was not recognized. Please fix it and resubmit.
Tag: urlset
Attribute: url
After checking with http://www.sitemaps.org/ the header of the generated sitemap file is changed to reflect the header as specified here. Attached are the new index.php file (which replaces the index.php file in modules/sitemap) and the patch file with the changes in the index.php file.
Sitemap index.php file
Diff file containing the changes in the index.php file
File added to Subversion
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).