I try to add the sitemap page to robots.txt so Google can easily find it,
When checking the page first by browsing to https://mysite.com/sitemap.xml I get the following error:
This page contains the following errors:
error on line 1 at column 8: XML declaration allowed only at the start of the document
Shouldn’t this show an XML output? I want to be sure that Google uses my sitemap properly before adding it to robots.txt