Changeset 11733
- Timestamp:
- 2006-04-28T11:55:35+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/oaiservr/abstractlistaction.cpp
r11732 r11733 63 63 } 64 64 65 // check the child set if it is given 65 // exclude collections that are not listed in the configured OAI list 66 text_tarray &collections = this->configuration->getCollectionsList(); 67 int c; 68 for (c = 0; c < collections.size(); c ++) { 69 if (collections[c] == gsdlCollect) 70 break; 71 } 72 if (c == collections.size()) { 73 this->errorType = "badArgument"; 74 return false; 75 } 76 66 77 if (gsdlSet != "") { 78 // check the child set if it is given 67 79 if (!this->check_classifier(protocol, gsdlCollect, gsdlSet)) { 68 80 this->errorType = "badArgument";
Note:
See TracChangeset
for help on using the changeset viewer.