Hello everybody I've just installed AxKit 1.5 on my laptop, a Progeny Debian. It compiles straight and works greatly... except for one thing.
With the 1.4 series I had a problem with XPathScript. I wrote my own DTD that "loaded" an external file for entities. The document started with: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE bs PUBLIC "-//SM2/DTD BSDOC 1.0//IT" "http://my.host.id/dtd/bsdoc.dtd"> and the DTD contained: <!ENTITY % ISOdia PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" "http://another.host.id/dtd/xml-ISOents.txt"> %ISOdia; on top. Obviously, http://another.host.id/dtd/xml-ISOents.txt exists, is valid and contains entities definitions. The XPathScript module failed to create an external entity handler, and so does now. I can get it to work only commenting out a small section of code: $ diff XPathScript.pm.dist15 XPathScript.pm 43,49c43,49 < if (my $entity_handler = $xml_provider->get_ext_ent_handler()) { < # warn "XPathScript: setting entity_handler\n"; < $xml_parser->setHandlers( < ExternEnt => $entity_handler, < ); < $Apache::AxKit::Language::XPathScript::local_ent_handler = $entity_handler; < } --- > # if (my $entity_handler = $xml_provider->get_ext_ent_handler()) { > ## warn "XPathScript: setting entity_handler\n"; > # $xml_parser->setHandlers( > # ExternEnt => $entity_handler, > # ); > # $Apache::AxKit::Language::XPathScript::local_ent_handler = $entity_handler; > # } In case you would ask, yes: I have HTTP::GHTTP: $ perl -MHTTP::GHTTP -e 'print "$HTTP::GHTTP::VERSION\n"' 1.06 What's the problem? Or, better: any solution/patch? :-))))) Thanks! Ciao Marco -- Marco Marongiu ([EMAIL PROTECTED]) Networks & Computational Systems Division Network & System Management Area Phone: +39 070 2796 336 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
