Wrong code to verify the content of an array
First -- I installed 6.x-2.x-dev, so I'm not sure to what extent that is different from 6.x-1.x-dev, but there was no option in the Version list for 6.x-2.x-dev. Also, I did a quick look to see if there were any issues like this, so my apologies if this is a duplicate:
I did not seem to be able to get nodes added to the site map right out of the box. I tracked it down to xmlsitemap_node_xmlsitemap_links(), where it was looking for array('xmlsitemap', 'xmlsitemap_node') in the $modules array.
This was failing because $modules was also set to array('xmlsitemap', 'xmlsitemap_node'), and so the in_array() condition was returning false. (The first array was not found -inside- of the second, because they both have the same value.)
I'm not sure what the format of $modules is supposed to be (if it's supposed to look for the pair of xmlsitemap+xmlsitemap_node in the array (e.g., 0 => array('xmlsitemap', 'xmlsitemap_node') or just looking to confirm that both individual strings exist in the array) -- so to quickly get it working for me I basically made sure that the in_array() condition was true.
Either way, let me know if that information is helpful, or if I'm missing something that I was supposed to have done.
Pete Stein