// setup the environment helper
if (this.environmentHelper == null) {
// We already have resolved our sitemap, so our context is the
// directory of this sitemap.
int pos = this.source.getURI().lastIndexOf('/');
this.environmentHelper = new EnvironmentHelper(new URL(this.source.getURI().substring(0, pos + 1)));
}
ContainerUtil.service(this.environmentHelper, this.manager);
// Create sitemap executor
if (this.parent == null) {