The enchantment "Last Stand" will subtract XP when you go to 1 health even though Poison will never kill you. It will stop after you are stuck at 1 health, but any subsequent regeneration and poison damage back to 1 health will cause repeated XP cost.