Ignore:
Timestamp:
2011-04-21T17:07:43+12:00 (13 years ago)
Author:
ak19
Message:

Had to move elements in Identify response around for the first validation test at re.cs.uct.ac.za to pass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/OAIReceptionist.java

    r23938 r23944  
    901901    //do the protocol version
    902902    copyElement(identify, OAIXML.PROTOCOL_VERSION);
    903     //do the deletedRecord
    904     copyElement(identify, OAIXML.DELETED_RECORD);
    905     //do the granularity
    906     copyElement(identify, OAIXML.GRANULARITY);
    907    
     903       
    908904    //There can be more than one admin email according to the OAI specification
    909905    NodeList admin_emails = GSXML.getChildrenByTagName(oai_config, OAIXML.ADMIN_EMAIL);
     
    926922    GSXML.setNodeText(earliestDatestamp_elem, earliestDatestamp_str);
    927923    identify.appendChild(earliestDatestamp_elem);
     924
     925    //do the deletedRecord
     926    copyElement(identify, OAIXML.DELETED_RECORD);
     927    //do the granularity
     928    copyElement(identify, OAIXML.GRANULARITY);
    928929       
    929930    return getMessage(identify);
Note: See TracChangeset for help on using the changeset viewer.