parse empty <location/> nodes correctly