On Two-Dimensional Elastic Dislocations in an Infinite and Semi-infinite Medium