Ignore:
Timestamp:
2009-01-12T12:20:53+13:00 (15 years ago)
Author:
kjdon
Message:

copied a couple of files directly over from gli trunk. They should have been identical after merge as I had made no changes to them, but they weren't

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/branches/rtl-gli/src/org/greenstone/gatherer/cdm/Format4gs3.java

    r14359 r18368  
    6767       
    6868        is_classifier = element.getParentNode().getNodeName().equals(StaticStrings.CLASSIFY_ELEMENT);
    69        
    70         if(is_classifier) {
     69
     70    if(is_classifier && CollectionDesignManager.classifier_manager!=null) {
    7171            //The getClassifierPosition() method also sets the classifier_options variable.
    7272            feature_name = Classifier.CLASSIFIER_PREFIX + getClassifierPosition(element);   
    7373            Classifier classifier = getClassifier(feature_name);
    7474            //set the classifier_options string
    75             classifier_options = classifier.toString();
    76 
     75        if (classifier != null){
     76        classifier_options = classifier.toString();
     77        }
    7778                   
    7879            pure_format = toOneLineFormat(XMLTools.getNodeText(element));
Note: See TracChangeset for help on using the changeset viewer.