Correctly disabling the external entity loader.
Restoring xml entity loader setting.