Thank you very much for playing with the integral, yes this one is divergent !! But this is at one node of the problem, I am also dealing with integrals that are not divergent like this one:
Integrate[(Sqrt[(0. + 0.0078125*(1 - xi) +
0.0078125*xi)^2]*(-0.0078125 + 0.0078125*(1 - xi)*(1 + xi) +
0.0078125*xi*(1 + xi))*
BesselK[0,
6283.185307179586*
Sqrt[0. + (-0.0078125 + 0.0078125*(1 - xi)*(1 + xi) +
0.0078125*xi*(1 + xi))^2]])/
(0. + (-0.0078125 + 0.0078125*(1 - xi)*(1 + xi) +
0.0078125*xi*(1 + xi))^2), {xi, -1, 1}]
If the correct numerical integration is used, this integral is given = 0. So if the constant is used 6283.185307179586, one need to solve as a cauchy principal value integral, if the constant is small one could solve as a weakly singular integral. I would love to remove that constant from the Bessel Term and then add it somehow after the integration. But Thank you very much for your answer !