private SAXParserFactory parserFactory;
public void initialize() throws InitializationException
{
this.parserFactory = SAXParserFactory.newInstance();
}
<BUG>public void importXAR(XarFile previousXarFile, File xarFile, String wiki) throws IOException, XWikiException
{</BUG>
if (wiki == null) {
XWikiContext context = getXWikiContext();
if (context.getWiki().isVirtualMode()) {

private SAXParserFactory parserFactory;
public void initialize() throws InitializationException
{
this.parserFactory = SAXParserFactory.newInstance();
}
public void importXAR(File xarFile, String wiki) throws IOException, XWikiException
{
if (wiki == null) {
XWikiContext context = getXWikiContext();
if (context.getWiki().isVirtualMode()) {
