Hello,

I've been having some troubles with the SSI and XSLT examples in the /eg/
directory in my Apache::ASP installation: the SSI example works to a point,
but there's an extra opening comment tag ("<!--") that appears at the end of
the file, after the closing tag for the html element. The XSLT problem is
worse - it won't work at all. The process seems to loop and finally short
out.

Excuse me if I'm missing something obvious here. I'm still a bit green with
these things. :(

Any ideas what could be causing the problems? I'm guessing that the odd
opening comment effect is related to the $Response->End() call in the
"virtual" include in ssi_filter.ssi, but I'm at a loss as to what could be
causing the problems with the xslt.xml example.

Sincerely,
Scott Kearn

I have the current versions (according to CPAN) of all the modules included
in Bundle::Apache::ASP installed, and I'm using version 1.95.1 of Expat,
downloaded from the Sourceforge project site. The other required modules
that I have installed (and their versions) are as follows:

Apache::Filter - 1.016
Apache::SSI - 2.16
XML::Parser - 2.30
XML::DOM - 1.27
XML::XSLT - 0.32

And here's the debug log from the attempt at running the xslt.xml example.
Note that this is from /one/ request:

[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.6310;0.0000] RUN ASP (v2.09) for
/usr/local/etc/httpd/htdocs/client/documentation/ApacheAsp/eg/xslt.xml
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.6487;0.0177] call srand() post fork
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.6496;0.0009] GlobalASA package Apache::ASP::Demo
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.6499;0.0003] global.asa was not cached for
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.6755;0.0256] compiling global.asa Apache::ASP::Demo
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa
exists 1 - asp: Apache::ASP=HASH(0x82f8760); compiled: HASH(0x82f75c8);
exists: 1; id:
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa;
package: Apache::ASP::Demo;  - --- - exists: ; mtime: ;
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.7154;0.0399] global.asa routines - Application_OnEnd: 1;
Application_OnStart: 1; Script_OnEnd: 1; Script_OnFlush: 1; Script_OnStart:
1; Session_OnEnd: 1; Session_OnStart: 1;
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.7170;0.0016] parsing xslt.xml
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.8030;0.0860] loaded module Apache::Symbol
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.8035;0.0005] active undefing sub
Apache::ASP::Demo::_usr_local_etc_httpd_htdocs_client_documentation_ApacheAs
p_eg_xslt_xmlxDYN code CODE(0x82ee338)
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.8039;0.0004] compiling into package Apache::ASP::Demo subid
Apache::ASP::Demo::_usr_local_etc_httpd_htdocs_client_documentation_ApacheAs
p_eg_xslt_xmlxDYN
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.8072;0.0033] Script_OnStart
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.8076;0.0004] executing Script_OnStart
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.8082;0.0006] tieing response package for STDOUT
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.8087;0.0005] executing
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg_xslt_xmlxDYN
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.8202;0.0115] Script_OnEnd
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.8206;0.0004] executing Script_OnEnd
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.8211;0.0005] Script_OnFlush
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.8214;0.0003] executing Script_OnFlush
[Fri Feb 23 02:10:55 2001] [error] [asp] [32023] [debug]
[982919455.8225;0.0011] xslt processing with template.xsl
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.1842;0.0000] RUN ASP (v2.09) for
/usr/local/etc/httpd/htdocs/client/documentation/ApacheAsp/eg/xslt.xml
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.1850;0.0008] call srand() post fork
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.1859;0.0009] GlobalASA package Apache::ASP::Demo
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.1863;0.0004] global.asa was not cached for
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.1890;0.0027] compiling global.asa Apache::ASP::Demo
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa
exists 1 - asp: Apache::ASP=HASH(0x82f9760); compiled: HASH(0x82f75c8);
exists: 1; id:
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa;
package: Apache::ASP::Demo;  - --- - exists: ; mtime: ;
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.2165;0.0275] global.asa routines - Application_OnEnd: 1;
Application_OnStart: 1; Script_OnEnd: 1; Script_OnFlush: 1; Script_OnStart:
1; Session_OnEnd: 1; Session_OnStart: 1;
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.2179;0.0014] parsing xslt.xml
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.2492;0.0313] loaded module Apache::Symbol
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.2497;0.0005] active undefing sub
Apache::ASP::Demo::_usr_local_etc_httpd_htdocs_client_documentation_ApacheAs
p_eg_xslt_xmlxDYN code CODE(0x82ee338)
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.2500;0.0003] compiling into package Apache::ASP::Demo subid
Apache::ASP::Demo::_usr_local_etc_httpd_htdocs_client_documentation_ApacheAs
p_eg_xslt_xmlxDYN
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.2533;0.0033] Script_OnStart
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.2537;0.0004] executing Script_OnStart
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.2543;0.0006] tieing response package for STDOUT
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.2550;0.0007] executing
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg_xslt_xmlxDYN
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.2560;0.0010] Script_OnEnd
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.2563;0.0003] executing Script_OnEnd
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.2571;0.0008] Script_OnFlush
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.2575;0.0004] executing Script_OnFlush
[Fri Feb 23 02:10:58 2001] [error] [asp] [31744] [debug]
[982919458.2584;0.0009] xslt processing with template.xsl
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4120;0.0000] RUN ASP (v2.09) for
/usr/local/etc/httpd/htdocs/client/documentation/ApacheAsp/eg/xslt.xml
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4125;0.0005] call srand() post fork
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4133;0.0008] GlobalASA package Apache::ASP::Demo
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4136;0.0003] global.asa was not cached for
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4167;0.0031] compiling global.asa Apache::ASP::Demo
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa
exists 1 - asp: Apache::ASP=HASH(0x82f8b00); compiled: HASH(0x82f6968);
exists: 1; id:
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa;
package: Apache::ASP::Demo;  - --- - exists: ; mtime: ;
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4454;0.0287] global.asa routines - Application_OnEnd: 1;
Application_OnStart: 1; Script_OnEnd: 1; Script_OnFlush: 1; Script_OnStart:
1; Session_OnEnd: 1; Session_OnStart: 1;
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4470;0.0016] parsing xslt.xml
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4766;0.0296] loaded module Apache::Symbol
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4770;0.0004] active undefing sub
Apache::ASP::Demo::_usr_local_etc_httpd_htdocs_client_documentation_ApacheAs
p_eg_xslt_xmlxDYN code CODE(0x82eb308)
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4774;0.0004] compiling into package Apache::ASP::Demo subid
Apache::ASP::Demo::_usr_local_etc_httpd_htdocs_client_documentation_ApacheAs
p_eg_xslt_xmlxDYN
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4808;0.0034] Script_OnStart
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4812;0.0004] executing Script_OnStart
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4818;0.0006] tieing response package for STDOUT
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4823;0.0005] executing
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg_xslt_xmlxDYN
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4832;0.0009] Script_OnEnd
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4836;0.0004] executing Script_OnEnd
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4842;0.0006] Script_OnFlush
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4847;0.0005] executing Script_OnFlush
[Fri Feb 23 02:10:59 2001] [error] [asp] [45414] [debug]
[982919459.4856;0.0009] xslt processing with template.xsl
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.7224;0.0000] RUN ASP (v2.09) for
/usr/local/etc/httpd/htdocs/client/documentation/ApacheAsp/eg/xslt.xml
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.7230;0.0006] call srand() post fork
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.7238;0.0008] GlobalASA package Apache::ASP::Demo
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.7241;0.0003] global.asa was not cached for
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.7271;0.0030] compiling global.asa Apache::ASP::Demo
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa
exists 1 - asp: Apache::ASP=HASH(0x82f8760); compiled: HASH(0x82f75c8);
exists: 1; id:
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa;
package: Apache::ASP::Demo;  - --- - exists: ; mtime: ;
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.7562;0.0291] global.asa routines - Application_OnEnd: 1;
Application_OnStart: 1; Script_OnEnd: 1; Script_OnFlush: 1; Script_OnStart:
1; Session_OnEnd: 1; Session_OnStart: 1;
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.7618;0.0056] parsing xslt.xml
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.8040;0.0422] loaded module Apache::Symbol
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.8058;0.0018] active undefing sub
Apache::ASP::Demo::_usr_local_etc_httpd_htdocs_client_documentation_ApacheAs
p_eg_xslt_xmlxDYN code CODE(0x82ee338)
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.8062;0.0004] compiling into package Apache::ASP::Demo subid
Apache::ASP::Demo::_usr_local_etc_httpd_htdocs_client_documentation_ApacheAs
p_eg_xslt_xmlxDYN
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.8096;0.0034] Script_OnStart
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.8100;0.0004] executing Script_OnStart
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.8107;0.0007] tieing response package for STDOUT
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.8129;0.0022] executing
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg_xslt_xmlxDYN
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.8139;0.0010] Script_OnEnd
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.8142;0.0003] executing Script_OnEnd
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.8151;0.0009] Script_OnFlush
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.8155;0.0004] executing Script_OnFlush
[Fri Feb 23 02:11:00 2001] [error] [asp] [32022] [debug]
[982919460.8164;0.0009] xslt processing with template.xsl
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.8784;0.0000] RUN ASP (v2.09) for
/usr/local/etc/httpd/htdocs/client/documentation/ApacheAsp/eg/xslt.xml
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.8789;0.0005] call srand() post fork
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.8797;0.0008] GlobalASA package Apache::ASP::Demo
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.8800;0.0003] global.asa was not cached for
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.8828;0.0028] compiling global.asa Apache::ASP::Demo
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa
exists 1 - asp: Apache::ASP=HASH(0x82f9760); compiled: HASH(0x82f85c8);
exists: 1; id:
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg___global_asa;
package: Apache::ASP::Demo;  - --- - exists: ; mtime: ;
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.9089;0.0261] global.asa routines - Application_OnEnd: 1;
Application_OnStart: 1; Script_OnEnd: 1; Script_OnFlush: 1; Script_OnStart:
1; Session_OnEnd: 1; Session_OnStart: 1;
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.9103;0.0014] parsing xslt.xml
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.9390;0.0287] loaded module Apache::Symbol
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.9400;0.0010] active undefing sub
Apache::ASP::Demo::_usr_local_etc_httpd_htdocs_client_documentation_ApacheAs
p_eg_xslt_xmlxDYN code CODE(0x82ee338)
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.9403;0.0003] compiling into package Apache::ASP::Demo subid
Apache::ASP::Demo::_usr_local_etc_httpd_htdocs_client_documentation_ApacheAs
p_eg_xslt_xmlxDYN
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.9437;0.0034] Script_OnStart
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.9441;0.0004] executing Script_OnStart
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.9449;0.0008] tieing response package for STDOUT
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.9454;0.0005] executing
_usr_local_etc_httpd_htdocs_client_documentation_ApacheAsp_eg_xslt_xmlxDYN
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.9463;0.0009] Script_OnEnd
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.9466;0.0003] executing Script_OnEnd
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.9472;0.0006] Script_OnFlush
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.9475;0.0003] executing Script_OnFlush
[Fri Feb 23 02:11:01 2001] [error] [asp] [48141] [debug]
[982919461.9484;0.0009] xslt processing with template.xsl

Reply via email to