Ignore:
Timestamp:
2008-08-12T09:50:26+12:00 (16 years ago)
Author:
mdewsnip
Message:

Changed the resumptionToken tags to not have any whitespace around the resumption tokens, because this confuses harvesters/validators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/oaiservr/abstractlistaction.cpp

    r15428 r16708  
    180180  // do a resumption token if required; errors cancel a token...
    181181  if (this->replyToken != NULL && this->errorType == "") {
    182     output << "  <resumptionToken>" << endl;
    183     output << "    " << this->replyToken->getToken() << endl;
    184     output << "  </resumptionToken>" << endl;
     182    // Don't add any whitespace around the resumption token as it can confuse harvesters/validators
     183    output << "  <resumptionToken>" << this->replyToken->getToken() << "</resumptionToken>" << endl;
    185184  }
    186185
Note: See TracChangeset for help on using the changeset viewer.