InputSource is = new InputSource(systemId);
is.setCharacterStream(in);
reuse(xsr,is);
return xsr;
} catch (IllegalAccessException e) {
throw new XMLReaderException("stax.cantCreate",e);
} catch (InvocationTargetException e) {
Throwable cause = e.getCause();
if (cause == null) {
cause = e;
}
throw new XMLReaderException("stax.cantCreate", cause);
} catch (XMLStreamException e) {
throw new XMLReaderException("stax.cantCreate",e);
}
}