}
inputStream = urlConnect.getInputStream();
xmlDoc = docBuilder.parse(inputStream);
}
catch (IOException ioe) {
throw new ResourceMissingException (xmlUri, "", ioe);
} catch (Exception e) {
throw new GeneralRenderingException("Problem parsing " + xmlUri , e);
} finally {
try {
if (inputStream != null) inputStream.close();