private URL getXmlUrl(String xmlName) throws MalformedURLException {
File f = new File(getASHome());
f = new File(f, xmlName);
return f.toURI().toURL();
}
<BUG>private Reader getReader(URL url) throws IOException {
</BUG>
URLConnection connection = url.openConnection();
InputStream is = connection.getInputStream();
<BUG>InputStreamReader isr = new InputStreamReader(is);
return isr;
}</BUG>
private class RootElementWriter implements XMLContentWriter {

private URL getXmlUrl(String xmlName) throws MalformedURLException {
File f = new File(getASHome());
f = new File(f, xmlName);
return f.toURI().toURL();
}
private InputStream getReader(URL url) throws IOException {
URLConnection connection = url.openConnection();
InputStream is = connection.getInputStream();
return is;
}
private class RootElementWriter implements XMLContentWriter {
