final InputStream stream;
try {
stream = in.openStream();
final HierarchicalStreamReader reader = createStaxReader(createParser(new StreamSource(stream, in
.toExternalForm())));
return new ReaderWrapper(reader) {
@Override
public void close() {
super.close();
try {