fix bug in error message when a schema file is detected being loaded from different URLs