- Timestamp:
- 2006-01-17T10:31:10+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/ClassifierManager.java
r11039 r11046 349 349 } 350 350 351 document = CollectionDesignManager.XMLStringToDOM(xml,classifier); 352 } 353 catch (Exception error) { 354 error.printStackTrace(); 355 ///ystem.err.println("Error: Cannot parse " + getClassifierName(classifier)); 356 } 357 if(document != null) { 351 if (xml.length() > 0) { 352 document = CollectionDesignManager.XMLStringToDOM(xml, classifier); 353 } 354 else { 355 JOptionPane.showMessageDialog(Gatherer.g_man, Dictionary.get("CDM.PlugInManager.Classifier_XML_Parse_Failed", classifier), Dictionary.get("General.Error"), JOptionPane.ERROR_MESSAGE); 356 } 357 } 358 catch (Exception exception) { 359 DebugStream.println("Failed when trying to parse: " + classifier); 360 DebugStream.printStackTrace(exception); 361 } 362 363 if (document != null) { 358 364 parseXML(document.getDocumentElement()); 359 365 }
Note:
See TracChangeset
for help on using the changeset viewer.