Re: [libxml-devel] XmlNode Doc is not bound! (ruby_xml_node.c:58) on 0.9.7

2009-01-12 Thread Charlie Savage
Hi Tor, I have created a ticket here: http://rubyforge.org/tracker/index.php?func=detail&aid=23540&group_id=494&atid=1973 Tel, Interesting bug, great bug report. So here is what's happening: 1. Call parser.parse 2. libxml creates a document 3. libxml starts creating nodes 4. Error occu

Re: [libxml-devel] XmlNode Doc is not bound! (ruby_xml_node.c:58) on 0.9.7

2009-01-12 Thread tel
The smallest example I could come up with which will trigger the problem: require 'rubygems' require 'xml' invalid_xml = <<-XML http://www.w3.org/TR/xhtml1/DTD/xhtml1- strict.dtd"> http://www.w3.org/1999/xhtml";> XML XML::Error.set_handler do |error| raise error end begin XML::