The following map can demonstrate this bug:
http://69.59.158.10/openlayers/
- Open the layer switcher.
- Note the name of the Sample Stations layer, a GeoRSS layer.
- Change the base layer selection.
- Note that the GeoRSS Sample Stations layer has changed its name.
Evidently, when the layer switcher updates, it reads the name of the GeoRSS layer from the RSS data downloaded. In this case, the RSS data's channel element does not contain a title element; evidently the parser fails over to the first title tag it does see, which is actually an item's title.
It seems to me that the desired behavior should be for the layer's title to be whatever was specified in the Layer.GeoRSS constructor, without regard to the GeoRSS content.