[Biopython-dev] [Bug 2488] Adding XML parsers to Bio.Entrez

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Sun Apr 13 14:32:28 UTC 2008


http://bugzilla.open-bio.org/show_bug.cgi?id=2488





------- Comment #5 from biopython-bugzilla at maubp.freeserve.co.uk  2008-04-13 10:32 EST -------
>> Why don't the Bio/Entrez/XXX.py implement subclasses
>> of Bio.Entrez.DataHandler, rather than just the two
>> methods startElement() and endElement() -- I'm trying
>> to understand why you did it this way round Michiel.
>
> We don't know what kind of XML we're handling until
> after we start reading it, since this is information
> contained in the XML. So we need to create the
> handler before knowing which handler will be needed.

OK - I see what you mean now.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list