Changeset 29352 for main/trunk/gli/src

Show
Ignore:
Timestamp:
03.10.2014 16:41:02 (5 years ago)
Author:
ak19
Message:

Kathy was making some important changes in GLI's processing of the collectionConfig file, but didn't get to finish yet. For now commenting out importoption and buildoption from the known list, to make things as before, so that these two toplevel elements are still preserved by GLI in the collconfig.xml file. For now, this solves the weird problem of a rebuilt solr demo collection's search result display showing the doc list after the footer.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/cdm/CollectionConfigXMLReadWrite.java

    r29330 r29352  
    5656 
    5757    // a list of all known top level elements 
    58   static final private String known_element_names_array[] = { StaticStrings.SECURITY_STR, StaticStrings.METADATALIST_STR, StaticStrings.DISPLAYITEMLIST_STR, StaticStrings.FORMAT_STR, StaticStrings.SEARCH_STR, StaticStrings.INFODB_STR, StaticStrings.BROWSE_STR, StaticStrings.IMPORT_STR, StaticStrings.IMPORT_OPTION_STR, StaticStrings.BUILD_OPTION_STR, StaticStrings.DISPLAY_STR, StaticStrings.REPLACELISTREF_STR, StaticStrings.REPLACELIST_STR, StaticStrings.SERVICE_RACK_LIST_ELEMENT }; 
     58  static final private String known_element_names_array[] = { StaticStrings.SECURITY_STR, StaticStrings.METADATALIST_STR, StaticStrings.DISPLAYITEMLIST_STR, StaticStrings.FORMAT_STR, StaticStrings.SEARCH_STR, StaticStrings.INFODB_STR, StaticStrings.BROWSE_STR, StaticStrings.IMPORT_STR,  
     59  /*StaticStrings.IMPORT_OPTION_STR, StaticStrings.BUILD_OPTION_STR,*/ 
     60  StaticStrings.DISPLAY_STR, StaticStrings.REPLACELISTREF_STR, StaticStrings.REPLACELIST_STR, StaticStrings.SERVICE_RACK_LIST_ELEMENT }; 
    5961    static final private Set known_element_names = new HashSet(Arrays.asList(known_element_names_array)); 
    6062