&& !exportContext.equals("default")) {
Export
.badArgs("econtext arg must be 'public', 'migrate', 'archive', or 'default'");
}
RepositoryInfo repoinfo = sourceRepoAPIA.describeRepository();
StringTokenizer stoken =
new StringTokenizer(repoinfo.getRepositoryVersion(), ".");
int majorVersion = new Integer(stoken.nextToken()).intValue();
if (majorVersion < 2 // pre-2.0 repo
&& !exportFormat.equals(METS_EXT1_0.uri)