Does anyone have this combination working?  I'm using Mason 0.89, Filter
1.011.  I'm getting my files twice, and headers twice.

I have asked on the Mason and AxKit mailing lists, but we haven't been able
to figure it out.

Here's the info from my other postings:

I'm trying to debug using HTML::Mason as the provider (using Apache::Filter)
for AxKit's XML step.  I'm forwarding mine and Matt's discussion so far to
see if anyone here has figured this out.

Apache::Filter is 1.011
HTML::Mason is 0.89.


Additionally, here's my error log if I turn on debug=1 in Apache::Filter
(the http request for test.xsl is because I'm using IE to request the page
and it's attempting its own XSLT transformation):


[AxKit] : (Re)loading Apache/AxKit/Provider/Filter.pm
*******info for /home/httpd/comp_root/docs/test.xml is  at
/usr/lib/perl5/site_perl/5.005/Apache/Filter.pm line 33.
/home/httpd/comp_root/docs/test.xml: This is the first filter at
/usr/lib/perl5/site_perl/5.005/Apache/Filter.pm line 66.
Untie()ing STDOUT at /usr/lib/perl5/site_perl/5.005/Apache/Filter.pm line
76.
Tie()ing STDOUT to Apache::Filter at
/usr/lib/perl5/site_perl/5.005/Apache/Filter.pm line 90.
END info is old_stdout Apache count 1 fh_in GLOB(0x8e56390)  at
/usr/lib/perl5/site_perl/5.005/Apache/Filter.pm line 94.
[AxKit] : handler called for /test.xml
[AxKit] : checking if we process this resource
[AxKit] : media: screen, preferred style: #default
[AxKit] : getting styles and external entities from the XML
[AxKit] : styles and external entities not cached - calling get_styles()
[AxKit] : get_styles: creating XML::Parser
[AxKit] : get_styles: calling
XML::Parser->parse('/home/httpd/comp_root/docs/test.xml')
[AxKit] : parse_pi: href = test.xsl
[AxKit] : parse_pi: type = text/xsl
[AxKit] : get_styles: parse returned: >> OK
 <<
[AxKit] : get_styles: parse returned successfully
[AxKit] : get_styles: loading style modules
[AxKit] : get_styles: looking for mapping for style type: 'text/xsl'
[AxKit] : (Re)loading Apache/AxKit/Language/Sablot.pm
[AxKit] : resetting cache with no preferred style
[AxKit] : some condition failed. recreating output
[AxKit] : File Provider set filename to /home/httpd/comp_root/docs/test.xsl
[AxKit] : about to execute: Apache::AxKit::Language::Sablot::handler
[AxKit] : execution of: Apache::AxKit::Language::Sablot::handler finished
[AxKit] : writing xml string to browser
[AxKit] : (Re)loading Apache/AxKit/Provider/Filter.pm
*******info for /home/httpd/comp_root/docs/test.xsl is  at
/usr/lib/perl5/site_perl/5.005/Apache/Filter.pm line 33.
/home/httpd/comp_root/docs/test.xsl: This is the first filter at
/usr/lib/perl5/site_perl/5.005/Apache/Filter.pm line 66.
Untie()ing STDOUT at /usr/lib/perl5/site_perl/5.005/Apache/Filter.pm line
76.
Tie()ing STDOUT to Apache::Filter at
/usr/lib/perl5/site_perl/5.005/Apache/Filter.pm line 90.
END info is old_stdout Apache count 1 fh_in GLOB(0x8e5f420)  at
/usr/lib/perl5/site_perl/5.005/Apache/Filter.pm line 94.
[AxKit] : handler called for /test.xsl
[AxKit] : checking if we process this resource
[AxKit] : media: screen, preferred style: #default
[AxKit] : getting styles and external entities from the XML
[AxKit] : styles and external entities not cached - calling get_styles()
[AxKit] : get_styles: creating XML::Parser
[AxKit] : get_styles: calling
XML::Parser->parse('/home/httpd/comp_root/docs/test.xsl')
[AxKit] : get_styles: parse returned: >> OK
 <<
[AxKit] : get_styles: parse returned successfully
[Wed Oct  4 12:28:23 2000] [error] [client 172.19.0.106] [AxKit] [Error] No
styles defined for '/home/httpd/comp_root/docs/test.xsl'
[Wed Oct  4 12:28:23 2000] [error] [client 172.19.0.106] [AxKit] From:
/usr/lib/perl5/site_perl/5.005/i586-linux/Apache/AxKit/Provider.pm : 135
[Wed Oct  4 12:28:23 2000] [error] [client 172.19.0.106] [AxKit] [Backtrace]
No styles defined for '/home/httpd/comp_root/docs/test.xsl' at
/usr/lib/perl5/site_perl/5.005/i586-linux/Apache/AxKit/Provider.pm line 135

Apache::AxKit::Provider::get_styles('Apache::AxKit::Provider::Filter=HASH(0x
8e5f348)', 'screen', '#default') called at
/usr/lib/perl5/site_perl/5.005/i586-linux/AxKit.pm line 710
        AxKit::get_styles_and_ext_ents('screen', '#default',
'Apache::AxKit::Cache=HASH(0x8e63eec)',
'Apache::AxKit::Provider::Filter=HASH(0x8e5f348)') called at
/usr/lib/perl5/site_perl/5.005/i586-linux/AxKit.pm line 460
        AxKit::handler('Apache=SCALAR(0x8b94b4c)') called at /dev/null line
0
        eval {...} called at /dev/null line 0




--
Barry Hoggard
Chief Technology Officer
http://www.investorama.com
v: 212.905.1639 x194
e: [EMAIL PROTECTED]


Reply via email to