Forwarding the end of this private conversation in case anyone else ever
gets this problem.

-- 
<!-- Matt -->
<:->Get a smart net</:->

---------- Forwarded message ----------
Date: Thu, 27 Jun 2002 09:18:40 -0400
From: Phil Macias <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Cc: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Subject: Re: problem getting axpoint to convert XML to PDF "on-the-fly"

 | X-POP3-Rcpt: pim@pimdev
 | Date: Thu, 27 Jun 2002 13:57:59 +0100 (BST)
 | From: Matt Sergeant <[EMAIL PROTECTED]>
 |
 | Bah, that didn't help :-(
 |
 | Can you see what happens when you add:
 |
 | PerlModule XML::Handler::AxPoint
 |
 | to your httpd.conf?

error.log looks good:

    [AxKit] fast handler called for /~pim/xml/bleach.axp
    [AxKit] Content Provider Override: Apache::AxKit::Provider::File
    [AxKit] [req] File Provider given $r: /home/pim/public_html/xml/bleach.axp
    [AxKit] checking if we process this resource
    [AxKit] media: screen, preferred style: #default
    [AxKit] Cache: key = c880ea49a54a40a8daebe9e93eb4ede0
    [AxKit] getting styles and external entities from the XML
    [AxKit] styles not cached - calling $provider->get_styles()
    [AxKit] using XS get_styles (libxml2)
    [AxKit] calling xs_get_styles_fh()
    [AxKit] calling xs_get_styles_str()
    [AxKit] parse_pi: type = application/x-axpoint
    [AxKit] parse_pi: href = NULL
    [AxKit] xs_get_styles returned: , , slideshow
    [AxKit] Calling GetMatchingProcessors with (screen, , , , slideshow)
    [AxKit] get_styles: loading style modules
    [AxKit] get_styles: looking for mapping for style type: 'application/x-axpoint'
    [AxKit] cache doesn't exist
    [AxKit] some condition failed. recreating output
    [AxKit] styles: Apache::AxKit::Language::AxPoint(NULL)
    [AxKit] Style Provider Override: Apache::AxKit::Provider::File
    [AxKit] [uri] File Provider looking up uri NULL
    [AxKit] [uri] File Provider set filename to /home/pim/public_html/xml/NULL
    [AxKit] about to execute: Apache::AxKit::Language::AxPoint::handler
    [AxKit] AxPoint: creating parser and handler
    [AxKit] AxPoint: Parsing XML
    [AxKit] AxPoint: outputting pdf
    [AxKit] AxPoint: done
    [AxKit] execution of: Apache::AxKit::Language::AxPoint::handler finished
    [AxKit] Cache: key = 3ad5bf8f4c97d208c7acffd225089586
    [AxKit] [Cache] writing cache file 
/tmp/axkit_cache//3a/d5/bf8f4c97d208c7acffd225089586
    [AxKit] writing xml string to cache and delivering to browser
    [AxKit] [Cache] writing cache file 
/tmp/axkit_cache//c8/80/ea49a54a40a8daebe9e93eb4ede0
    [AxKit] Cache: Getting content-type
    [AxKit] Cache: setting content-type: application/pdf
    [AxKit] Cache: Sending untransformed content to browser


Looks like "PerlModule XML::Handler::AxPoint" was the fix to
generating pdf on the fly.

My browsers usually open pdf files with acroread. They do not display
bleach.axp  as pdf but if I ask to "save as" the file is written as a
pdf that does open correctly in acroread.

Thanks for your help.

 - Phil






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to