- Timestamp:
- 2014-04-28T17:16:58+12:00 (10 years ago)
- Location:
- main/trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/gui/FormatConversionDialog.java
r28995 r29001 224 224 Node child = children.item(i); 225 225 if(child.getNodeType() == Node.CDATA_SECTION_NODE) { 226 // there are no GS2 statements in col config that need converting to GS3,227 // andcan open the collection without going through the FormatConversionDialog226 // there are GS2 statements in col config, but they've already been converted to GS3 227 // can open the collection without going through the FormatConversionDialog 228 228 return OpenCollectionDialog.OK_OPTION; 229 229 } -
main/trunk/gli/src/org/greenstone/gatherer/gui/OpenCollectionDialog.java
r28995 r29001 439 439 } 440 440 441 if(result == OK_OPTION) { 442 Gatherer.collectDirectoryHasChanged(Gatherer.getCollectDirectoryPath(), 441 Gatherer.collectDirectoryHasChanged(Gatherer.getCollectDirectoryPath(), 443 442 newCollectPath, Gatherer.g_man.getContentPane()); 444 443 // will tell the server that the collect directory has changed and that 445 444 // the workspace needs to be refreshed (Documents in Greenstone Collections) 446 }447 445 } 448 446 } -
main/trunk/gli/src/org/greenstone/gatherer/util/XMLTools.java
r28995 r29001 340 340 Document doc = null; 341 341 try { 342 /*SAXParserFactory factory = SAXParserFactory.newInstance();343 factory.setNamespaceAware(true);344 //factory.setValidating (true);345 SAXParser parser = factory.newSAXParser();346 InputSource iSource = new InputSource(new StringReader(xml_str));347 // parser.parse (iSource, new DefaultHandler ());348 349 org.xml.sax.XMLReader reader = parser.getXMLReader();350 reader.setContentHandler(new DefaultHandler());351 reader.setErrorHandler(new DefaultHandler());352 doc = reader.parse(iSource);353 */354 342 355 343 DocumentBuilder db = DocumentBuilderFactory.newInstance().newDocumentBuilder();
Note:
See TracChangeset
for help on using the changeset viewer.