Hello,

  I have tried Xerecs 1.6 and the last snapshot with the following code
and continue to receive aborts in the makeStream() call after about the
third iteration of the for() loop.  It is such a simple piece of code I 
am at a complete loss as to what would be causing the problem.  Any
help would be greatly appreciated!

  Thanks.


  Here are the versions of OS and compiler that I am using:


~|Wed3:40pm} gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
~|Wed3:40pm} uname -a
SunOS sun05 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-Enterprise


  The Code:

#include <iostream>

#include <stdio.h>

#include <util/PlatformUtils.hpp>
#include <framework/URLInputSource.hpp>

int 
main(int argc, char *args[]) {
  XMLPlatformUtils::Initialize();

  const char *urls[6] = {
    
"http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt=xml&dispmax=200&uid=17740184";,
    
"http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt=xml&dispmax=200&uid=15156844";,
    
"http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt=xml&dispmax=200&uid=13422061";,
    
"http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt=xml&dispmax=200&uid=13429916";,
    
"http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt=xml&dispmax=200&uid=18497225";,
    
"http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Text&db=Nucleotide&dopt=xml&dispmax=200&uid=17224952";
  };
  
  for(int i=0; i<6; i++) {
    cout << i << " URL: " << urls[i] << '\n';
    
    XMLURL xml_url(urls[i]);
    
    URLInputSource url(xml_url);
    BinInputStream *input = url.makeStream();
  }

  return 0;
}



---
Kent Vander Velden
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to