***Note from Migration:***
Original Title was: Warn when resolving ArcGIS Domains if code (value) not found in Domain (FGDB/ArcSDE)
For example when reading a File Geodatabase or ArcSDE layer.
It is possible for a field in a layer to contain a value that doesn't match a code (value in FME speak) in the Domain. For example your Domain has:
1 = Car
2 = Bus
3 = Train
But the Vehicle field for some features in your layer have the value "4" in the actual data. Even worse, the value in the data might be "Car" which makes it almost impossible to figure out that ArcGIS is showing the raw data and not displaying "Car" by looking up "1" in the Domain.
When you read the data into FME (whether you use the FGDB Open API Reader or the ArcGIS Reader), you will get an empty string for any values such as "4" that aren't in the Domain. This is because FME will look up the actual value from the data and not find it in the Domain.
I would like to suggest that if this happens, the Log file should record a Warning or Error to say something like "WARN: code '4' not found in Domain 'Vehicle_type'".