Changeset 28986

Show
Ignore:
Timestamp:
17.04.2014 13:15:40 (5 years ago)
Author:
kjdon
Message:

method name change

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/OAIPMH.java

    r28966 r28986  
    132132    configureSetInfo(); 
    133133    // the short_service_info is used by the message router to find the method names,  
    134     //so we just use the doc variable in class ServiceRack to create the xml; but 
    135     // in each method we will use OAIXMLto create the response xml 
    136     // set up short_service_info_ - just the name 
    137134 
    138135    Element list_records = this.desc_doc.createElement(GSXML.SERVICE_ELEM); 
     
    609606    // TODO, can we do this in an easier way?? 
    610607        Element meta_fmt = doc.createElement(OAIXML.METADATA_FORMAT); 
    611         GSXML.copyElement(meta_fmt, metadata_format, OAIXML.METADATA_PREFIX); 
    612         GSXML.copyElement(meta_fmt, metadata_format, OAIXML.METADATA_NAMESPACE); 
    613         GSXML.copyElement(meta_fmt, metadata_format, OAIXML.SCHEMA); 
     608        GSXML.copyNamedElement(meta_fmt, metadata_format, OAIXML.METADATA_PREFIX); 
     609        GSXML.copyNamedElement(meta_fmt, metadata_format, OAIXML.METADATA_NAMESPACE); 
     610        GSXML.copyNamedElement(meta_fmt, metadata_format, OAIXML.SCHEMA); 
    614611        list_metadata_formats.appendChild(meta_fmt); 
    615612      }