[Biopython] Problem with Bio.Entrez...

Nathan J. Edwards nje5 at georgetown.edu
Fri Aug 27 04:13:29 UTC 2010


On 8/26/2010 10:40 PM, Michiel de Hoon wrote:
> The problem is with the XML returned by NCBI. Currently, the XML
> returned by einfo contains<Docsum>  elements that are not described
> in the corresponding DTD
> (http://www.ncbi.nlm.nih.gov/entrez/query/DTD/eInfo_020511.dtd). The
> parser therefore doesn't know how to handle them. Could you write an
> email to NCBI that einfo generates XML that is inconsistent with the
> corresponding DTD?

Sent.

It would be nice (IWBN) if the parser threw an exception that indicated 
that the returned XML didn't validate...at least then the (very 
cryptic!) error message wouldn't look like a logic error in the parser.

- n

-- 
Dr. Nathan Edwards                      nje5 at georgetown.edu
Department of Biochemistry and Molecular & Cellular Biology
            Georgetown University Medical Center
Room 1215, Harris Building          Room 347, Basic Science
3300 Whitehaven St, NW              3900 Reservoir Road, NW
Washington DC 20007                     Washington DC 20007
Phone: 202-687-7042                     Phone: 202-687-1618
Fax: 202-687-0057                         Fax: 202-687-7186



More information about the Biopython mailing list