package similar to XML::Simple

Uche Ogbuji uche at ogbuji.net
Tue Feb 10 02:32:38 EST 2004


Pierre N <pierren at mac.com> wrote in message news:<mailman.904.1075287732.12720.python-list at python.org>...
> I'm using pyRXP, and it's great.
> It's using one tuple, not dictionnaries.
> Very very fast.
> By the way I'm just starting using this package, anybody met any
> problems with pyRXP?

I did.  It's not an XML parser :-(.  It does not accept character
entities such as … (the example that bit me), giving meaningless
"error" messages along the lines: "not a valid 8-bit XML character". 
If you need an XML parser, use PyRXPU, which comes in ReportLab CVS
only.  It is not as fast as PyRXP, but conformant in my testing, and
the point of XML is conformance, not speed at all costs.  If you want
speed at all costs, use CSV or some other plain text format.

I'm writing at length about this unfortunate PyRXP situation in my
next ORA python/XML column (expected Weds).

--Uche
http://uche.ogbui.net



More information about the Python-list mailing list