[silva-dev] python 2.3?

Martijn Faassen faassen at vet.uu.nl
Wed Aug 13 20:29:24 CEST 2003


Marc Petitmermet wrote:
> i had real problems parsing an xml file with python 2.1.3 (using sax 
> and dom). this xml file contained characters like ’ (right 
> single quote) where both parsers choked but characters like 
 
> (carriage return) passed without problems. then i installed python 2.3 
> with "--enable-unicode" and there were no problems anymore.
> 
> question: does silva/zope run with python 2.3

Probably Zope 2.6.x does, but rather untested. Zope 2.7 is more
likely to do so, but that isn't released yet, and Silva doesn't
quite work out of the box the last time I tested it.

> or can anybody tell me 
> how to get the parsers working correctly with python 2.1.3?

Which parsers did you try to use? There are a whole bunch of them;
PyXML (with expat), libxml and a host more.

What did the XML file claim to be in its header? If nothing, then
it defaults to UTF-8.

Regards,

Martijn




More information about the silva-dev mailing list