Show
Ignore:
Timestamp:
12.08.2008 09:50:26 (12 years ago)
Author:
mdewsnip
Message:

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

Files:
1 modified

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