Migrate code from google code: https://code.google.com/p/gbif-ecat/source/browse/pubindex/trunk/