Sitemaps are generating without a suffix regardless of the settings in the admin.
It appears that when enterprise_url_rewrite was written as a port from core_url_rewrite that the suffix was missed.
Adding suffix awareness to the _getEntityUrl() function for category and product entities in the sitemap resource model seems trivial, but is there something else I am missing or is this a bug that is affecting other people?
For instance for the category (just an example see pastebin link for more info)
protected function _getEntityUrl($row, $entity)
{
$url = !empty($row['request_path']) ? $row['request_path'] : 'catalog/category/view/id/' . $entity->getId();
$suffix = Mage::helper('catalog/category')->getCategoryUrlSuffix();
if ($suffix) {
$url .= '.' . $suffix;
}
return $url;
}
http://pastebin.com/RPWVrhae has a bit more code.