fix(Module): Use an external entity loader for schema validation (closes #5054)