Duncan Webb wrote:
> Gorka Olaizola wrote:
>> On Thu, Apr 03, 2008 at 09:22:13AM +0200, Gorka Olaizola wrote:
>>> It seems that python should use another implementation of XML at least
>>> in the 1.8.x series.
>> 
>> That should read Freevo. Freevo should use another implementation of
>> XML at least in the 1.8.x series.
>
> I think that we discuss this on the devel list, as IIRC dischi and jason 
>   did some analysis of xml parsers.
>
> In freevo-1, at the moment there are already several parsers:
> http://pyxml.sourceforge.net/
> elementtree and
> beautifulsoup.

The question is: what parts of Freevo/kaa need what kind of xml
parser. All kaa modules should either use xml.dom.minidom or
xml.sax. All parts of our code should work with and without pyxml
installed. I have no idea what the difference is, maybe the xml in
Python 2.5 already is the stuff from pyxml. Beautifulsoup is needed
for web site parsing and should not be used as "normal" xml parser,
elementtree is a nice tree parser.

I propose for Freevo: use elementtree for parsing based on a tree, sax
From python as sax parser. Stuff like lxml could be used optional as a
fast elementtree replacement.

Kaa should only use minidom or sax to avoid extra deps. IIRC this is
the case.

> Rewriting code, just because a library has not been updated, is not one 
> of my favourite tasks.

No, and the python website still points to pyxml as xml lib.
http://docs.python.org/lib/module-xml.dom.html

Dischi

-- 
Black holes are where God divided by zero.

Attachment: pgpL1vdWhjli9.pgp
Description: PGP signature

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to