--- parser3/src/main/pa_xml_io.C 2003/11/28 09:33:20 1.4 +++ parser3/src/main/pa_xml_io.C 2003/11/28 09:36:26 1.7 @@ -9,7 +9,7 @@ #ifdef XML -static const char * const IDENT="$Date: 2003/11/28 09:33:20 $"; +static const char * const IDENT="$Date: 2003/11/28 09:36:26 $"; #include "libxslt/extensions.h" @@ -45,7 +45,6 @@ xmlFileMatchLocalhost(const char* filena */ static void * xmlFileOpenLocalhost (const char* filename) { - //_asm int 3; FILE *fd; const char* document_root=pa_thread_request().request_info.document_root; if(!document_root) @@ -119,10 +118,9 @@ xmlFileMatchMethod(const char* filename) return(0); } -/// parser://method/param/here -> ^/abc | ./abc +/// parser://method/param/here -> ^MAIN:method[/params/here] static void * xmlFileOpenMethod (const char* afilename) { - //_asm int 3; Request& r=pa_thread_request(); char* s=pa_strdup(afilename+9 /*strlen("parser://")*/); @@ -160,12 +158,6 @@ pa_xmlFileReadMethod (void * context, // return stream.read(buffer, len); } -/** - * xmlFileClose: - * @context: the I/O context - * - * Close an I/O channel - */ static int pa_xmlFileCloseMethod (void * /*context*/) { return 0; @@ -179,7 +171,7 @@ void pa_xml_io_init() { xmlFileMatchLocalhost, xmlFileOpenLocalhost, pa_xmlFileRead, pa_xmlFileClose); - // parser://method/param/here -> ^/abc | ./abc + // parser://method/param/here -> ^MAIN:method[/params/here] xmlRegisterInputCallbacks( xmlFileMatchMethod, xmlFileOpenMethod, pa_xmlFileReadMethod, pa_xmlFileCloseMethod);