private Map<String, String> oldMappings = new HashMap<String, String>();
public ImportInfoImpl doImport(Node parent, String name, Reader r, String systemId)
throws RepositoryException {
try {
lexer = new Lexer(r, systemId);
nextToken();
ImportInfoImpl info = parse(parent, name);
// reset name spaces
for (String prefix: oldMappings.keySet()) {
String uri = oldMappings.get(prefix);