package similar to XML::Simple

Stuart Bishop stuart at stuartbishop.net
Thu Feb 12 22:52:40 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 13/02/2004, at 3:20 AM, Peter Hansen wrote:

> Do you mean it doesn't handle addition things that are part of
> the core XML standard?  Or are we still talking about *just* the
> lack of Unicode?  I thought what I read on their web site made
> it clear that it *does* support Unicode, but it was simply
> not enabled in the current compilation.  If that's true, then
> clearly it *is* an XML parser *by design*.

The RXP library can be compiled in 8bit or 16bit mode.
The 0.9 release of pyRXP built the RXP library in 8 bit mode,
and the Python glue was 8 bit only. Building RXP in 16bit mode
with the 8bit-only glue, unsurprisingly, caused everything to
fail miserably.

The patch I submitted (integrated sometime around 0.96 I think
- - no official release) involved updating the glue so that Python
could happily get Unicode objects from RXP's 16bit representation
(RXP works internally in UTF16), and a disgusting hack to setup.py
so that it would build both the 8bit and Unicode versions of the
library and wrapper from the same source.

- --  
Stuart Bishop <stuart at stuartbishop.net>
http://www.stuartbishop.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFALEoNAfqZj7rGN0oRAudzAJ9FhLP4cGeaq/ctpcKMCM+spal2wgCeOCzu
befdGgdIE6u+HdDBRVZkrk4=
=RwjK
-----END PGP SIGNATURE-----





More information about the Python-list mailing list