{
_importsDoc = null;
}
catch (Exception e)
{
throw new XmlRuntimeException("Problem reading xsdownload.xml: please fix or delete this file", e);
}
}
if (_importsDoc == null)
{
try
{
_importsDoc = DownloadedSchemasDocument.Factory.parse(
"<dls:downloaded-schemas xmlns:dls='http://xml.apache.org/xmlbeans/2004/02/xmlbean/xsdownload' defaultDirectory='" + getDefaultSchemaDir() + "'/>"
);
}
catch (Exception e)
{
throw new XmlRuntimeException(e);
}
}
String defaultDir = _importsDoc.getDownloadedSchemas().getDefaultDirectory();
if (defaultDir == null)