Changeset 16718

Show
Ignore:
Timestamp:
12.08.2008 12:45:23 (11 years ago)
Author:
mdewsnip
Message:

Minor fixes for validation.

Location:
gsdl/trunk/runtime-src/src/oaiservr
Files:
3 modified

Legend:

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

    r16714 r16718  
    9494      return false; 
    9595    } 
     96 
    9697    // Check that the metadataPrefix is a format we support 
    9798    if (this->formatNotSupported(metadataPrefix)) 
  • gsdl/trunk/runtime-src/src/oaiservr/listrecsaction.cpp

    r16714 r16718  
    8181    return false; 
    8282  } 
     83 
    8384  // Check that the metadataPrefix is a format we support 
    8485  if (this->formatNotSupported(metadataPrefix)) 
  • gsdl/trunk/runtime-src/src/oaiservr/recordaction.cpp

    r16715 r16718  
    7878    return false; 
    7979  } 
     80 
    8081  // Check that the metadataPrefix is a format we support 
    8182  if (this->formatNotSupported(metadataPrefix)) 
     
    8788  // The "identifier" argument is required 
    8889  text_t identifier = params["identifier"]; 
     90 
     91  // Check that the identifier argument exists 
     92  if (identifier == "") 
     93  { 
     94    this->errorType = "badArgument"; 
     95    return false; 
     96  } 
    8997 
    9098  // Extract the collection name from the identifier specification