Ignore:
Timestamp:
2006-03-08T14:27:44+13:00 (18 years ago)
Author:
kjdon
Message:

anywhere where we determine document/classifier by checking for starting with HASH, I changed to check if starts with CL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/oaiservr/listsetsaction.cpp

    r9608 r11311  
    6161    // get all the children of the (relevant) classifier data structures
    6262    get_children(browseOID, gsdlCollect, "", metadata, false, protocol, response, logout);
    63  
    6463    // and send them to the "recurse_content" list
    6564    for (int c = 0; c < response.numDocs; ++c) {
     
    8584  // get the document information
    8685  if (!get_info(classifier, collection, "", metadata, false, protocol, response, logout)) {
    87     // cerr << "Bad identifier or protocol " << classifier << endl;
     86    //cerr << "recurse content: Bad identifier or protocol " << classifier << endl;
    8887    return;
    8988  }
     
    146145      continue;
    147146
    148     // check for HASH items and exclude them
     147    // check for non classifier items and exclude them
    149148    text_t childHead;
    150149    text_t::const_iterator start = child.begin();
    151150    text_t::const_iterator here  = child.begin();
    152     here += 4;
     151    here += 2;
    153152    childHead = substr(start, here);
    154153
    155     if (childHead == "HASH")
     154    if (childHead != "CL")
    156155      continue;
    157156
Note: See TracChangeset for help on using the changeset viewer.