Skip to content

Conversation

fumikun
Copy link

@fumikun fumikun commented Jul 17, 2025

What?

Although xmlns in XML look like URLs, they are used as unique strings for namespaces, so the protocol cannot be changed.

Why?

As mentioned in the issue #81644, these specifications are XML specifications. Chrome and other browsers use namespaces (URIs) for parsing according to the convention that XML namespaces are URLs, so this problem should be solved on the browser viewer side.

Current

<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="https://www.w3.org/1999/xhtml">

Expected

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">

The Google Community, which was raised in #81644,
https://support.google.com/webmasters/thread/357720871/sitemap-error-incorrect-namespace-in-google-search-console

Official XML Sample
https://developers.google.com/search/docs/crawling-indexing/sitemaps/image-sitemaps
https://developers.google.com/search/docs/crawling-indexing/sitemaps/video-sitemaps

Fixes #81644
Fixes #81802

@ijjk
Copy link
Member

ijjk commented Jul 17, 2025

Allow CI Workflow Run

  • approve CI run for commit: c844839

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

1 similar comment
@ijjk
Copy link
Member

ijjk commented Jul 17, 2025

Allow CI Workflow Run

  • approve CI run for commit: c844839

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@fumikun
Copy link
Author

fumikun commented Jul 22, 2025

This issue will likely be resolved by the Next.js team in #81934, so I will close this PR once the review for it is approved.

@fumikun
Copy link
Author

fumikun commented Jul 22, 2025

solved in #81934

@fumikun fumikun closed this Jul 22, 2025
@github-actions github-actions bot added the locked label Aug 6, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants