(1) improve handling of schema resource load failures;
(2) add debug output for schema resource loading process;