You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by "Jason E. Stewart" <ja...@openinformatics.com> on 2002/02/05 16:39:56 UTC

Re: Bug in XML::Xerces ??

"Steven Chiu" <st...@rogers.com> writes:

> Hi, I think I found a bug in XML::Xerces, When I try to load this
> package in a CGI environment, I get an 'Internal Server Error'. I
> use Apache 1.3.12 and cgi is a perl script. Here is a perl -V
> dump. Below that is the script. I have been looking on the web for
> all info, but can't find any !!..
> 
> The script loads fine on console, but when I access it through the web 
> browser, it craps out.. with error :
> 
> Premature end of script headers: /opt/apache/htdocs/test.cgi
> 
> in the error log file.

> and the script is:
> 
> #!/usr/bin/perl
> use XML::Xerces;
> use CGI ;
> my $q = new CGI ;
> print $q->header ;
> 
> foreach my $e ( @INC ) {
>         print "$e<BR>\n" ;
> }

I'm assuming that you commented out the 'use XML::Xerces' line and
everthing ran fine?

If so, then this seems like a bug that was reported earlier, but that
I couldn't reproduce, i.e. that attempting to load XML::Xerces into
Apache was enough to dump core.

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org