I noticed this also, when i open the weather.xml file i get garbage for 60642, so i changed this to an accurate chicago zipcode 60601. I still get the same error, cant call method getAttribute.
Apparently 60642 isnt a recognized zipcode by yahoo, even though it is my correct zipcode.