A Taliban spokesman earlier denied responsibility for the attack .