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

2008-12-19 Thread tel
I am hitting the error in subject when trying to parse a document on OS X Leopard. [BUG] XmlNode Doc is not bound! (ruby_xml_node.c:58) ruby 1.8.6 (2008-03-03) [universal-darwin9.0] Abort trap t...@mac-pro alpha $ ruby --version ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0] The e

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::