A "real" solution would involve XPath objects registering themselves
with documents, and documents checking them when freed. The reason
is that Ruby calls free functions in random order. See discussion
here:
http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-core/17725?17500-17840+split-mode-vertical
XPathObjects should have a custom mark function that marks their
dependent XML Document object. XPathObjects need to have that
reference in their structure. -sc
--
Sean Chittenden
[EMAIL PROTECTED]
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel