From: On the construction of approximation space to model discontinuities and cracks with linear and quadratic extended finite elements