Tanja wrote:
> Dirk Meyer schrieb:
>> I get some parse errors. It looks like libxml2 can't resolve stuff
>> like ü. The strange part is that it is defined in the dtd but it
>> looks like the dtd is not loaded. Can you send me a list of all your
>> XML* and SGML* environment variables?
>
> Sorry, what do you mean? Which environment variables?
> How do I check them? My bash environment does not contain any variables 
> with XML or SGML...

That was what I meant. So not XML or SGML environment variables. I did
not have this problem with your first parser not using kaa.xml
(a.k.a. libxml2). I'm thinking about moving all code back from libxml2
to the "normal" python modules.

1. libxml2 is not very pythonic. You have to free the tree
   yourself. I'm trying to wrap this, but it doesn't work well in all
   cases (as you saw with the segfault)

2. libxml2 returns utf-8 and not unicode. That's why I wrote kaa.xml
   and it is more a hack than a good solution. I don't know about
   python xml.

3. IIRC the python API for xml is generic. So when you install pyxml
   you access it the same way as when not using it.

4. pyxml seems to be faster than before. I need to make a speed
   comparison. Even if it is a little bit slower we should use
   it. Last time it was way slower, that's why we used libxml2.

5. Changing a tree (move elements around, merge trees) is a pain. It
   is very easy to get a segfault or a memory leak.

>> BTW, my files end with qy for some reason, I changed that to q[a-z] in
>> your parser. I will check it in svn later. Thanks again.
>> 
>
> Strange, thus your files are not the same as mine?

Seems to be so.


Dischi

-- 
Unnamed Law:
        If it happens, it must be possible.

Attachment: pgpmsc5YT4FYY.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to