Commits

Anonymous committed fcab46e

Modified Files:
LibXML.pm
o version update
o minor cleanup (possible problem with toString)

LibXML.xs
[fix] test if libxml2 was compiled with threads enabled

README LICENSE example/libxml.dkb
o version notes

  • Participants
  • Parent commits 5b3a636

Comments (0)

Files changed (4)

 use IO::Handle; # for FH reads called as methods
 
 
-$VERSION = "1.55";
+$VERSION = "1.56";
 require Exporter;
 require DynaLoader;
 
         }
     }
     else {
-        $retval =  $self->_toString($flag||0);
+        $flag ||= 0 unless defined $flag;
+        $retval =  $self->_toString($flag);
     }
 
     return $retval;
 
         item = hv_fetch( real_obj, "XML_LIBXML_PEDANTIC", 19, 0 );
         if ( item != NULL && SvTRUE(*item) ) {
+#ifdef LIBXML_THREAD_ENABLED
             xmlThrDefPedanticParserDefaultValue( 1 );
+#endif
             xmlPedanticParserDefaultValue = 1;
         }
         else {
+#ifdef LIBXML_THREAD_ENABLED
             xmlThrDefPedanticParserDefaultValue( 0 );
+#endif
             xmlPedanticParserDefaultValue = 0;
         }
 
 problems with binary incompatibilities between releases of the library.
 
 
-Note On libxml2 Versions
-========================
+Notes On libxml2 Versions
+=========================
 
 libxml2 claims binary compatibility between its patch levels. This is not all
 true:
 
 The following versions are tested:
 
-   o prior to 2.4.25: tested; not working.
-   o past 2.4.25: tested; working
+   o past 2.4.20: tested; working.
+   o 2.4.25: tested; not working
+   o past 2.4.25: tested, working
    o past 2.5.0: tested; working
    o version 2.5.5: tested; tests pass, but known as broken
    o up to version 2.5.10: tested; working

File example/libxml.dkb

       libxml2. This avoids problems with binary incompatibilities between
       releases of the library.</para>
       <sect2>
-        <title>Note On libxml2 Versions</title>
+        <title>Notes On libxml2 Versions</title>
         <para>libxml2 claims binary compatibility between its patch levels.
         This is not all true:</para>
         <para>First of all XML::LibXML requires at least libxml2 2.4.25. For
         <para>The following versions are tested:</para>
         <itemizedlist>
           <listitem>
-            <para>prior to 2.4.25: tested; not working.</para>
+            <para>past 2.4.20: tested; working.</para>
           </listitem>
           <listitem>
-            <para>past 2.4.25: tested; working</para>
+            <para>2.4.25: tested; not working</para>
+          </listitem>
+          <listitem>
+            <para>past 2.4.25: tested, working</para>
           </listitem>
           <listitem>
             <para>past 2.5.0: tested; working</para>