In this proposed fix, you could override the sitemap input data by adding a conf/sitemap.xml file in your skin.
Sample of sitemap.xml file :
<?xml version="1.0" encoding="UTF-8"?>
<sitemap>
<initial-depth>3</initial-depth>
<descendant-depth>3</descendant-depth>
</sitemap>
In this proposed fix, you could override the sitemap input data by adding a conf/sitemap.xml file in your skin.
Sample of sitemap.xml file :