...I think, we should disable this feature for now and find a better and compatible way....
Wouldn't just changing the header name from org.apache.cocoon.sitemap/Location to something like X-Cocoon-debug-sitemap-location fix the problem?
Using a known prefix like "X-Cocoon-debug-" also makes it easy to filter out these headers when needed.
-Bertrand
