- 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/PluginManager.java
r11038 r11046 481 481 } 482 482 483 document = CollectionDesignManager.XMLStringToDOM(xml,plugin); 484 } 485 catch (Exception error) { 486 System.err.println("Failed when trying to parse: " + plugin); 487 error.printStackTrace(); 488 } 489 if(document != null) { 483 if (xml.length() > 0) { 484 document = CollectionDesignManager.XMLStringToDOM(xml, plugin); 485 } 486 else { 487 JOptionPane.showMessageDialog(Gatherer.g_man, Dictionary.get("CDM.PlugInManager.PlugIn_XML_Parse_Failed", plugin), Dictionary.get("General.Error"), JOptionPane.ERROR_MESSAGE); 488 } 489 } 490 catch (Exception exception) { 491 DebugStream.println("Failed when trying to parse: " + plugin); 492 DebugStream.printStackTrace(exception); 493 } 494 495 if (document != null) { 490 496 parseXML(document.getDocumentElement()); 491 497 } … … 522 528 } 523 529 } 524 525 530 526 531
Note:
See TracChangeset
for help on using the changeset viewer.