URL in Sitemap.xml does not contain with the production URL

I’ve a question about the Sitemap on Website.

In robots.txt someone setup Sitemap: https://xx-admin.domain.com/sitemap_index.xml

but in xml file is https://xx.domain.com/

Is there any problem for this case?

ps google search console approved that sitemap. Here is GSC approve

Thank you.