HPCC-11643 Revert 8982 and 11084

Manually reverted.
One dummy loadxml could not be reverted - testing/ecl/setup/textsearch.txt
as it no longer exists.

Signed-off-by: jamienoss <james.noss@lexisnexis.com>
I think this is the change causing the problem - you can leave the other change as it was.