Dan,
Took me a while to try it out. It still segfaults, while the gem
version (0.3.9.1, I think) does not. Here is the backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7ce78c0 (LWP 19967)]
0xb7cb21a7 in ruby_xml_xpath_object_mark (xpop=0x8fff4b0)
at ru
Great work, Dan. After a little work I was seeing this:
227 tests, 1197 assertions, 0 failures, 0 errors
:) Big change from the segfaults we were getting before.
A few things I noticed...
* as I mentioned before, [] is not implemented for XML::XPath::Object
(which is the return value of XML::D
That is unintentional, it should implement [].
Dan
On Oct 11, 2007, at 01:45, Christopher J. Bottaro wrote:
> Hey Dan,
> [] is not implemented for XML::XPath::Object, but it is for
> XML::Node::Set. I made an abstraction layer with pluggable backend
> (libxml, rexml) so it wasn't a big deal for
Hey Dan,
[] is not implemented for XML::XPath::Object, but it is for
XML::Node::Set. I made an abstraction layer with pluggable backend
(libxml, rexml) so it wasn't a big deal for me to implement [] by
using XML::XPath::Object#collect to convert it to an array, but I just
thought you'd like to kno
XML::XPath::Object behaves the same as XML::Node::Set and implements
all Set methods. There is a .set receiver on XPath::Object that
returns a XML::Node::Set, but it is really a pseudo object as it
passes all methods through to Object.
There are no updates to the documentation at this time.
Did the API change? XML::Document#find used to return XML::Node::Set
and now it returns XML::XPath::Object. Where can I read about the API
changes?
Thanks.
On 10/10/07, Dan Janowski <[EMAIL PROTECTED]> wrote:
> Release 0.5.2 MEM2 release fixes all known and reported memory faults.
>
> project p
Release 0.5.2 MEM2 release fixes all known and reported memory faults.
project page
http://rubyforge.org/projects/libxml/
Try it out if you can.
Dan
___
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml
Release 0.5.2 MEM2 release fixes all known and reported memory faults.
project page
http://rubyforge.org/projects/libxml/
Try it out if you can.
Dan
___
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-