String msg = e.getMessage();
if(new File(relativeRef).exists()) {
msg = Messages.format(Messages.ERR_FILENAME_IS_NOT_URI)+' '+msg;
}
SAXParseException spe = new SAXParseException2(
Messages.format(Messages.ERR_UNABLE_TO_PARSE,relativeRef, msg),
locator, e );
fatalError(spe);
throw spe;
} catch( IOException e ) {
SAXParseException spe = new SAXParseException2(
Messages.format(Messages.ERR_UNABLE_TO_PARSE,relativeRef,e.getMessage()),
locator, e );
fatalError(spe);
throw spe;