If "Display page timer" enabled it breaks the XML generated by Gsitemap by placing
<div class="dev-timer> Page execution time was 366.62 ms.</div> at the end of XML.

(Could you create a setting for those nodes what I want prevent to process by Devel?)

Comments

moshe weitzman’s picture

Status: Active » Closed (works as designed)

devel already tries to not output this gunk if your module has sent http content-type header indicating that you are sending xml. drupal core does this. make gsitemap send its headers and this should fix automatically.