Commits

Anonymous committed b468ca0

Submitted by: michael.kroell@uibk.ac.at
Reviewed by: christian.glahn@uibk.ac.at
Log: Modified Files:
LibXML.xs
- removed the xmlCleanupParser() call from LibXML_cleanup_parser()
Now the parser globals will be kept until the process ends.

This is conform with the libxml2 documentation.
The codeline based on old documentation of libxml2.

  • Participants
  • Parent commits 451b464

Comments (0)

Files changed (1)

     if (LibXML_old_ext_ent_loader != NULL ) {
         xmlSetExternalEntityLoader( (xmlExternalEntityLoader)LibXML_old_ext_ent_loader );
     }
-    xmlCleanupParser();
 }
 
 void
     return;
 /*    xs_warn("      cleanup parser callbacks!\n"); */
 
-/*    xmlCleanupInputCallbacks(); */
-/*    xmlRegisterDefaultInputCallbacks(); */
+/*    xmlCleanupInputCallbacks();*/
+/*    xmlRegisterDefaultInputCallbacks();*/
 /*    if ( LibXML_old_ext_ent_loader != NULL ) { */
 /*        xmlSetExternalEntityLoader( NULL ); */
 /*        xmlSetExternalEntityLoader( LibXML_old_ext_ent_loader ); */