[libxml-devel] Create a Node with a namespace

2008-03-31 Thread Sean Geoghegan
Hi I have been trying to figure out how to programmatically create a Node with a namespace but without any luck. I have tried this: node = XML::Node.new('test') node.namespace = 'http://example.org' But that just results in a segfault. I have tried creating XML::NS objects but there doesn't

[libxml-devel] Probably Memory Leak in XML::Reader#read_string

2009-06-04 Thread Sean Geoghegan
xperience the leak on various flavours of Linux with Ruby 1.8.5 and 1.8.6. I'll keep investigating and start looking at the C code of libxml-ruby next, but I thought I'd let someone know about it at this stage. Thanks Sean Geoghegan smime.p7s Description: S/MIME cryptographi

Re: [libxml-devel] Probably Memory Leak in XML::Reader#read_string

2009-06-06 Thread Sean Geoghegan
he same problem and it prevents an attempt to deallocate NULL pointers. I couldn't get Rubyforge to behave when creating the patch though so I've just sending it to the list. Thanks Sean memory_leak_patch.diff Description: Binary data On 05/06/2009, at 8:42 AM, Sean Geoghe