1. Shlomi Fish
  2. perl-XML-LibXML

Commits

ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d  committed 3c0e29f

whoohoo :-D all tests pass for libxml2 2.5.4 again

Modified Files:
LibXML.xs
+ fixed xinclude bug for libxml2 versions later than 2.4.26

Changes
+ version notes

  • Participants
  • Parent commits 1272fa6
  • Branches default

Comments (0)

Files changed (2)

File Changes

View file
    - fixed segfault while appending entity ref nodes to documents
    - fixed some backward compatibility issues
    - fixed cloning with namespaces misbehaviour
+   - fixed parser problems with libxml2 2.5.3+
    - moved iterator classes into a separate package
      (after realizing some CPAN testers refuse to read their warnings
      from Makefile.PL)

File LibXML.xs

View file
 
         LibXML_croak_error();
 
-        if ( RETVAL > 0 ){
+        if ( RETVAL < 0 ){
             croak( "unknown error due XInclude" );
             XSRETURN_UNDEF;            
         }
-        else {
+        else if ( RETVAL == 0 ) {
             RETVAL = 1;
         }
     OUTPUT: