title: No object pairs in plist reading data from a server
body: <p>I am trying to read a plist from a server. I know for a fact that the plist is valid since when I go to the URL i get the plist downloaded and the plist editor shows me my array properly. Now when I use the following code I get now array populated. I see the data is in there. In debugger i see that plistData has value however the array petListArray has no data at all. What is wrong?</p>
  
  <pre><code>    - (void)getPetListRequestFinished:(ASIHTTPRequest *)request
      {   
          NSData *plistData = [request responseData];
          NSError *error = nil;
          NSPropertyListFormat format = NSPropertyListBinaryFormat_v1_0;
          NSArray *petListArray = (NSArray *)[NSPropertyListSerialization propertyListWithData:plistData 
                                                                           options:(NSPropertyListReadOptions)NSPropertyListImmutable format:&amp;format error:(NSError **)error];
  
  
      if(error){
  
          UIAlertView * alert = [[UIAlertView alloc] initWithTitle:@"GetPetListError"  message:[NSString stringWithFormat:@"getPettListRequestFinished_new deserialization error: error = %@", error] 
                                                          delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
          [alert show];
          [alert release];
          return;
      } 
  ----snip-------
  </code></pre>