everything was already said in this thread, except for one thing: it is pretty normal that the taxi driver waits for the woman to enter the building; she can always ask to make sure he will do that.
so there really isn't factual problem in the scenario that was described.