Hi I have 

SERVER_SOFTWARE: Apache/2.0.43 (Win32) mod_perl/1.99_08-dev 
Perl/v5.8.0 PHP/4.3.0 

installed from theoryx5 all-in-one archive


here is the problem I have :
-----------------------------------------
package testxml;
use strict;
use warnings;

use XML::LibXML();
use XML::LibXSLT();
use Data::Dumper;

my $base='c:/apache2/mason';

my $promod=
XML::LibXSLT->new->parse_stylesheet(
XML::LibXML->new->parse_file("$base/stylesheets/test.xsl"));
print Dumper $promod ;
1;
-----------------------------------------------

the above script runs ok when PERL testxml.pm is run. (outside 
of any apache environment)
Dumper prints 

bless XML::LibXSLT::Stylesheet.. 

showing
all parsing ok (the stylesheets is simplisssima one tag sheet)

when it is USEed from startup.pl (# removed below in startup) 
then
it also prints the line 

bless ... 

but apache issues a fatal error and refuses to 
start "instruction 0X28027104 memory cant be read !"


here is the startup.pl

use Apache2 ();
use lib 'c:/apache2/mason/lib';
use ModPerl::Util ();
use Apache::RequestRec ();
use Apache::RequestIO ();
use Apache::RequestUtil ();
use Apache::Server ();
use Apache::ServerUtil ();
use Apache::Connection ();
use Apache::Log ();
use Apache::Const -compile => ':common';
use APR::Const -compile => ':common';
use APR::Table ();
use Apache::compat ();
use ModPerl::Registry ();
use CGI ();
use XML::LibXML();
use XML::LibXSLT();
#use testxml;
1;


same thing if  you omit the xslt step in the testxml script

I pointed out this problem from the early distribution of 
modperl2, it's not recent.


thanks 

pascal

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,13 €/mn) ; tél : 08 92 68 13 50 (0,34€/mn)"



Reply via email to