Changeset 28859

Show
Ignore:
Timestamp:
27.02.2014 14:23:28 (6 years ago)
Author:
kjdon
Message:

I had removed some constants from OAIXML, so now need to use GSXML.NAME_ATT instead of OAIXML.NAME

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/collection/Collection.java

    r27716 r28859  
    397397        { 
    398398            configureServiceRackList(service_list, coll_config_xml); 
    399             oai_service_rack = GSXML.getNamedElement(service_list, GSXML.SERVICE_CLASS_ELEM, OAIXML.NAME, OAIXML.OAIPMH); 
     399            oai_service_rack = GSXML.getNamedElement(service_list, GSXML.SERVICE_CLASS_ELEM, GSXML.NAME_ATT, OAIXML.OAIPMH); 
    400400        } 
    401401        // collection Config may also contain manually added service racks 
     
    405405            configureServiceRackList(service_list, build_config_xml); 
    406406            // this oai used in preference to one in buildConfig.xml 
    407             oai_service_rack = GSXML.getNamedElement(service_list, GSXML.SERVICE_CLASS_ELEM, OAIXML.NAME, OAIXML.OAIPMH); 
     407            oai_service_rack = GSXML.getNamedElement(service_list, GSXML.SERVICE_CLASS_ELEM, GSXML.NAME_ATT, OAIXML.OAIPMH); 
    408408        } 
    409409        // Check for oai