Changeset 5880
- Timestamp:
- 2003-11-18T16:28:13+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/msm/GreenstoneArchiveParser.java
r5593 r5880 52 52 import org.greenstone.gatherer.shell.GShell; 53 53 import org.greenstone.gatherer.shell.GShellProgressMonitor; 54 import org.greenstone.gatherer.util.StaticStrings; 54 55 import org.greenstone.gatherer.util.Utility; 55 56 import org.greenstone.gatherer.valuetree.GValueModel; … … 129 130 } 130 131 // If we successfully retrieved an element (and we should have) we can continue. 131 if(element != null) { 132 // WARNING!! There is one known exception - MARC records. Adding the extracted elements is all good, but adding the extracted metadata causes the whole thing to collapse in a pile of unhappy. 133 if(element != null && !file_path.endsWith(StaticStrings.MARC_EXTENSION)) { 132 134 // Retrieve the metadata for the current file 133 135 File target_file = new File(file_path);
Note:
See TracChangeset
for help on using the changeset viewer.