Issue #2249723 by andrei.dincu: Few changes in xmlsitemap_sitemap_load_by_context()