[xml] Segfault using libxml2 from python 2.3.3
- From: Colin Fox <cfox cfconsulting ca>
- To: xml gnome org
- Subject: [xml] Segfault using libxml2 from python 2.3.3
- Date: Tue, 13 Jul 2004 15:34:48 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi, all.
I'm trying to build a tree 'manually', using John Fleck's example code.
Here's my python version:
#!/usr/bin/env python
import libxml2
d = libxml2.xmlDoc('1.0')
n = libxml2.xmlNode('root')
n.setContent("some content")
d.docSetRootElement(n)
#----------
However, when I execute the n.setContent() call, I get a segfault.
Is this a known issue, or should I add it to the bug tracker?
Thanks,
~ cf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA9GOIoaQ1/feGlJoRArKNAJ43dkvqJsyMqr/FGEIFFZSSqUvCyQCfdM5s
h4NN2RtSM9J24Tr0AcyZ3hc=
=K3mu
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]