What is wrong?
« on: March 13, 2010, 10:26:35 PM »
Hi friends, I am new...

I created a sitemap.xml, and using a txt editor he are ok, like that:

<?xml version="1.0" encoding="UTF-8"?>
<urlset
      xmlns="[ External links are visible to forum administrators only ]"
      xmlns:xsi="[ External links are visible to forum administrators only ]"
      xsi:schemaLocation="[ External links are visible to forum administrators only ]
            [ External links are visible to forum administrators only ]">
<url>
  <loc>[ External links are visible to forum administrators only ]</loc>
  <lastmod>2010-03-01T00:18:21+00:00</lastmod>
  <changefreq>weekly</changefreq>
</url>
etc, etc.

And uploaded.

I do not understand:

If I read in the site, with a txt editor, all are ok.

But if I read with a browser, I get that:
<?xml version="1.0" encoding="UTF-8"?>
-<urlset
      xmlns="[ External links are visible to forum administrators only ]"
      xmlns:xsi="[ External links are visible to forum administrators only ]"
      xsi:schemaLocation="[ External links are visible to forum administrators only ]
            [ External links are visible to forum administrators only ]">
-<url>
  <loc>[ External links are visible to forum administrators only ]</loc>
  <lastmod>2010-03-01T00:18:21+00:00</lastmod>
  <changefreq>weekly</changefreq>
</url>
etc, etc.

See the -<url and -<urlset ?

I tried to validate, and get an error:

Error: Expected whitespace after public id
 in unnamed entity at line 1 char 62 of [ External links are visible to forum administrators only ]


Please help, I am new in this sitemap subject. What I need to change, to fix the above error?

Thanks!

« Last Edit: March 13, 2010, 10:32:38 PM by cbrito »