It is known that the Cantor set minus a point is (up to homeomorphisms) the unique zero-dimensional separable metric space without isolated points that is locally compact and not compact. In particular, the Cantor set minus a point is homeomorphic to the Cantor set minus two points (or minus any finite number of points). Now you can take as $X$ the Cantor set and as $Y$ the Cantor set minus a point. See also [this][1] math.stackexchange question. [1]: http://math.stackexchange.com/questions/57260/subsets-of-the-cantor-set