I have built an Internet law site http://www.digitprofessionals.com using Drupal 7-alpha-5 but cannot get Sitemap to work either in 7.x-2.0-beta1 or in current dev version of June 9, 2010. Both give the same errror messages.
After installing, a sitemap is generated with only one link, to the homepage. I get an error message on the first page "No active batch".
When clicking on 'Update Cached Files" for this single-link sitemap, I get
Notice: Undefined index: elapsed in _batch_process() (line 346 of /home/admin1/public_html/includes/batch.inc).
Removing Pathauto did not help, neither did unchecking 'Prefetch URL aliases during sitemap generation.'
When clicking the Edit link against the the sitemap, I get
Warning: Parameter 1 to xmlsitemap_sitemap_edit_form() expected to be a reference, value given in drupal_retrieve_form() (line 594 of /home/admin1/public_html/includes/form.inc).
John