I don't know if this is really a bug or if it exists on purpose. When I cast "cure light wounds" on a dying character, I usually get some xp. However, this does not happen when I use the Paladin ability "Lay on Hands". I don't know if this is a bug or if it exists because the character doesn't put himself at a great risk ( oponents do not get an atack of opurtunity)