The 7.x-2.x module renders the site unusable if the XMLWriter component is not enabled in PHP. (I only get a HTTP 500 here.)
There should be a check to see if XMLWriter is available.
Dave Reid already added this for 6.x, http://drupal.org/node/935516#comment-3896784

Comments

dave reid’s picture

Status: Active » Postponed (maintainer needs more info)

How did you manage to install Drupal 7 then? It already depends on having the xml extension enabled.

zany’s picture

In my setup (gentoo) xml and xmlwriter are two separate options. D7 does not depend on xmlwriter.

dave reid’s picture

Status: Postponed (maintainer needs more info) » Active

Oh grr, I didn't check that XMLWriter was its own separate extension. Does extension_loaded('xmlwriter') in your case return FALSE?

dave reid’s picture

Status: Active » Fixed

Committed a requirements check for xmlwriter extension to 7.x-2.x and 6.x-2.x.
http://drupalcode.org/project/xmlsitemap.git/commit/f731b47
http://drupalcode.org/project/xmlsitemap.git/commit/498e9d2

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.