XML Sitemap files are invalid
Summary
Although the Sitemap index file is valid ( https://developer.mozilla.org/sitemap.xml), none of the three XML files it links to are valid.
URL
https://developer.mozilla.org/sitemaps/fr/sitemap.xml.gz
https://developer.mozilla.org/sitemaps/en-us/sitemap.xml.gz
https://developer.mozilla.org/sitemaps/ja/sitemap.xml.gz
Reproduction steps
- Try to open the file, or use an XML validator.
Expected behavior
XML file should open
Actual behavior
Encoding error
Device
Laptop
Browser
Firefox
Browser version
Stable
Operating system
Windows
Screenshot

Anything else?
Google Search Console records that they visited the XML files earlier today and were able to read them, so this probably happened recently?
Also, I opened an issue for this Kuma, I assume that was incorrect?
Validations
- [X] I have read the Community Participation Guidelines.
- [X] I have verified that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] I have checked that this is a concrete bug. For Q&A open a GitHub Discussion.
This is a gzipped file, please download this URL and unzip it.
@yin1999 I have tried to unzip the files; unzipping does not help. I have asked others to also download and unzip the file, and they have also experienced XML parsing errors.
if you are using linux, try gzip -d <filename>, or if you are using windows, try 7-Zip or other software. I can decompress those file
@yin1999 Son of a gun. Today it works. Just FYI, yesterday three members of the Websites team also tried to open the files and also got errors. I don't know why yesterday the file had encoding errors and today it doesn't. Thanks for responding so quickly, though.
I just verified that the sitemap is working as expected:
- Opened https://developer.mozilla.org/sitemap.xml
- Downloaded sub-sitemap https://developer.mozilla.org/sitemaps/en-us/sitemap.xml.gz
- Ran
gunzip sitemap.xml.gz. - Opened the resulting
sitemap.xmlin Firefox. - Didn't see any validation errors.