When I run OSR games, in that situation they would get zero XP.
But, If players are doing a lot of role-playing, exploration, and investigation, then in my experience, a lot of this effort often results in players gathering information that may lead to finding greater treasures next time.
One...