Title: Bad XML
Last modified: May 4, 2022

---

# Bad XML

 *  [subram](https://wordpress.org/support/users/subram/)
 * (@subram)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/bad-xml/)
 * Hi,
 * This plugin creates this XML for Google news [https://www.dijitalguvenlik.org/sitemap-news.xml](https://www.dijitalguvenlik.org/sitemap-news.xml)
 * When I checked it from [https://validator.w3.org/feed/#validate_by_uri](https://validator.w3.org/feed/#validate_by_uri)
   I taken an error. And I don’t see any news on Google News.
 * `Sorry
 * This feed does not validate.
 *  line 7, column 0: Undefined root element: urlset [help]
 *  <urlset xmlns=”[http://www.sitemaps.org/schemas/sitemap/0.9&#8243](http://www.sitemaps.org/schemas/sitemap/0.9&#8243);
 * In addition, interoperability with the widest range of feed readers could be 
   improved by implementing the following recommendations.
 *  “text/xml” media type is not specific enough [help]
 *  line 7, column 0: Use of unknown namespace: [http://www.sitemaps.org/schemas/sitemap/0.9](http://www.sitemaps.org/schemas/sitemap/0.9)[
   help]
 *  <urlset xmlns=”[http://www.sitemaps.org/schemas/sitemap/0.9&#8243](http://www.sitemaps.org/schemas/sitemap/0.9&#8243);
 *  line 7, column 0: The prefix “image” generally is associated with the namespace“
   [http://purl.org/rss/1.0/modules/image/&#8221](http://purl.org/rss/1.0/modules/image/&#8221);[
   help]
 *  <urlset xmlns=”[http://www.sitemaps.org/schemas/sitemap/0.9&#8243](http://www.sitemaps.org/schemas/sitemap/0.9&#8243);
 *  line 7, column 0: Use of unknown namespace: [http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)[
   help]
 *  <urlset xmlns=”[http://www.sitemaps.org/schemas/sitemap/0.9&#8243](http://www.sitemaps.org/schemas/sitemap/0.9&#8243);
 * Source: [https://www.dijitalguvenlik.org/sitemap-posttype-post.xml](https://www.dijitalguvenlik.org/sitemap-posttype-post.xml)`
 * How can I solve this problem?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbad-xml%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/bad-xml/#post-15640915)
 * Hi, the XML sitemap is not an RSS feed. You need to submit the News sitemap in
   your Google Search Console account, next to your regular XML sitemap. It will
   keep you informed about problems there.
 * In Publisher Center you can submit normal WordPress generated feed URLs. Your
   main feed is on [https://www.dijitalguvenlik.org/feed/](https://www.dijitalguvenlik.org/feed/)
   but if you have set up different news sections (based on categories) in Publisher
   Center, you can add feeds for each categorie by adding /feed/ to the categorie
   UL. For example [https://www.dijitalguvenlik.org/kategori/kisisel-veriler/feed/](https://www.dijitalguvenlik.org/kategori/kisisel-veriler/feed/)
 * Hope that helps 🙂

Viewing 1 replies (of 1 total)

The topic ‘Bad XML’ is closed to new replies.

 * ![](https://ps.w.org/xml-sitemap-feed/assets/icon-128x128.png?rev=1112143)
 * [XML Sitemap & Google News](https://wordpress.org/plugins/xml-sitemap-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/xml-sitemap-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/xml-sitemap-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/xml-sitemap-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/xml-sitemap-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/xml-sitemap-feed/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/bad-xml/#post-15640915)
 * Status: not resolved