Changeset 30729
- Timestamp:
- 2016-08-22T11:31:31+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSDocumentModel.java
r29224 r30729 12 12 import java.util.Vector; 13 13 14 import org.apache.log4j.*; 15 14 16 import javax.xml.parsers.DocumentBuilder; 15 17 import javax.xml.parsers.DocumentBuilderFactory; … … 28 30 public class GSDocumentModel 29 31 { 32 //static Logger logger = Logger.getLogger(org.greenstone.gsdl3.util.GSDocumentModel.class.getName()); 30 33 //The two archive databases 31 34 protected static final String ARCHIVEINFSRC = "archiveinf-src"; … … 875 878 metadataElems.get(position).getParentNode().removeChild(metadataElems.get(position)); 876 879 } 880 881 //Write the new change back into the file 882 if (!writeXMLFile(docXML, oid, collection, userContext)) 883 { 884 _errorStatus = ERROR_COULD_NOT_WRITE_TO_DOC_XML; 885 } 886 877 887 } 878 888 … … 914 924 elem.getParentNode().removeChild(elem); 915 925 } 926 927 //Write the new change back into the file 928 if (!writeXMLFile(docXML, oid, collection, userContext)) 929 { 930 _errorStatus = ERROR_COULD_NOT_WRITE_TO_DOC_XML; 931 } 932 916 933 } 917 934
Note:
See TracChangeset
for help on using the changeset viewer.