convert units/dimension strings loaded from xml attributes into
Unit/Dimension objects