Issue #3 new

memory crash when validating XML against XSD

Anonymous created an issue

I have a bug (on SO here http://stackoverflow.com/questions/22137569/perl-libxml-crash-when-validating-against-xsd)

which causes a memory fault when I try to validate a SOAP response against its XSD

I fixed it with this commenting out part of the DESTROY handler for XML::LibXML::Element

to

    sub DESTROY
    {
        my ($self) = @_;
        $self->__destroy_tiecache;
        #$self->SUPER::DESTROY;
    }

I suspect this may cause other problems though This is going wrong on Debian using the deb package for wheezy and jessie. I also pulled the latest off CPAN

Comments (2)

  1. Log in to comment