I've attached a patch file for the change to XML::LibXML that you originally suggested, in case it's useful to anyone else (or you want to send it in :-)
cheers
-steve
edit the file (I should have sent in a patch for this....). change _default_catalog( self, catalog ) SV * self SV * catalog PREINIT: #ifdef LIBXML_CATALOG_ENABLED xmlCatalogPtr catal = (xmlCatalogPtr)SvIV(SvRV(catalog)); #endif INIT: if ( catal == NULL ) { croak( "empty catalog" ); } CODE: warn( "this feature is not implemented" ); RETVAL = 0; OUTPUT: RETVAL to _default_catalog( self, catalog ) SV * self SV * catalog PREINIT: #ifdef LIBXML_CATALOG_ENABLED xmlCatalogPtr catal = (xmlCatalogPtr)SvIV(SvRV(catalog)); #endif INIT: #ifdef LIBXML_CATALOG_ENABLED if ( catal == NULL ) { croak( "empty catalog" ); } #endif CODE: warn( "this feature is not implemented" ); RETVAL = 0; OUTPUT: RETVAL
diff -ruN XML-LibXML-1.54.orig/LibXML.xs XML-LibXML-1.54/LibXML.xs --- XML-LibXML-1.54.orig/LibXML.xs Tue May 27 05:56:28 2003 +++ XML-LibXML-1.54/LibXML.xs Fri Aug 15 11:45:18 2003 @@ -2074,9 +2074,11 @@ xmlCatalogPtr catal = (xmlCatalogPtr)SvIV(SvRV(catalog)); #endif INIT: +#ifdef LIBXML_CATALOG_ENABLED if ( catal == NULL ) { croak( "empty catalog" ); } +#endif CODE: warn( "this feature is not implemented" ); RETVAL = 0;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]