Fixing "invalid xpath" issue, actually invalid NS resoolver. Fixes issue
6055