fixed Domain::value call to be valid also for double and string values of e.g. TEXTDOMAINs