Hi,
sorry to disturb you again ;-)

I'd like to get axpoint work on-the-fly but i have a strange problem.

axpoint works fine as a command line tool, and AxKit let my browser
display properly xml files.

Installation is as follow:

Slackware 9.1 (kernel 2.4.23)
perl 5.8.0
PDFlib-Lite-5.0.2 (also tried with pdflib-4.0.3 with the same results)
PDFLib-0.12
AxKit-1.62
mod_perl-1.29
-------------------------- 

This my httpd.conf
---------------------------

PerlModule AxKit

  AddHandler axkit .xml .xsp .dkb
  AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT

 <Files *.axp>

  AddHandler axkit .axp

    AxLogDeclines On
    AxDebugLevel 50

#    PerlSetVar AxXPSInterpolate 1

  AxCacheDir /tmp/axkit_cache/
  AxAddStyleMap application/x-axpoint Apache::AxKit::Language::AxPoint
  AxAddProcessor application/x-axpoint NULL
</Files>


This my apache error_log

-------------------------
warn] [client 159.213.43.134] [AxKit] [req] File Provider given $r:
/var/www/htdocs/examples/example.axp
warn] [client 159.213.43.134] [AxKit] checking if we process this
resource
warn] [client 159.213.43.134] [AxKit] media: screen, preferred style:
#default
warn] [client 159.213.43.134] [AxKit] Cache: key =
ea87fc649fb27d71964bc8eb4fb0fe80
warn] [client 159.213.43.134] [AxKit] getting styles and external
entities from the XML
warn] [client 159.213.43.134] [AxKit] styles not cached - calling
$provider->get_styles()
warn] [client 159.213.43.134] [AxKit] using XS get_styles (libxml2)
warn] [client 159.213.43.134] [AxKit] encoding to UTF-8
warn] [client 159.213.43.134] [AxKit] calling xs_get_styles_fh()
warn] [client 159.213.43.134] [AxKit] calling xs_get_styles_str()
warn] [client 159.213.43.134] [AxKit] xs_get_styles returned: , ,
slideshow
warn] [client 159.213.43.134] [AxKit] Calling GetMatchingProcessors with
(screen, , , , slideshow)
warn] [client 159.213.43.134] [AxKit] get_styles: loading style modules
warn] [client 159.213.43.134] [AxKit] get_styles: looking for mapping
for style type: 'application/x-axpoint'
warn] [client 159.213.43.134] [AxKit] get_styles: looking for mapping
for style type: 'application/x-axpoint'
warn] [client 159.213.43.134] [AxKit] get_styles: looking for mapping
for style type: 'application/x-axpoint'
warn] [client 159.213.43.134] [AxKit] cache doesn't exist
warn] [client 159.213.43.134] [AxKit] some condition failed. recreating
output
warn] [client 159.213.43.134] [AxKit] styles:
Apache::AxKit::Language::AxPoint(NULL)
warn] [client 159.213.43.134] [AxKit] styles:
Apache::AxKit::Language::AxPoint(NULL)
warn] [client 159.213.43.134] [AxKit] styles:
Apache::AxKit::Language::AxPoint(NULL)
warn] [client 159.213.43.134] [AxKit] Style Provider Override:
Apache::AxKit::Provider::File
warn] [client 159.213.43.134] [AxKit] [uri] File Provider looking up uri
NULL
warn] [client 159.213.43.134] [AxKit] [uri] File Provider set filename
to /var/www/htdocs/examples/NULL
warn] [client 159.213.43.134] [AxKit] about to execute:
Apache::AxKit::Language::AxPoint::handler
warn] [client 159.213.43.134] [AxKit] AxPoint: creating parser and
handler
warn] [client 159.213.43.134] [AxKit] AxPoint: Parsing XML
warn] [client 159.213.43.134] [AxKit] AxPoint: outputting pdf
warn] [client 159.213.43.134] [AxKit] AxPoint: done
warn] [client 159.213.43.134] [AxKit]
Apache::AxKit::Language::AxPoint::handler finished with code 0
warn] [client 159.213.43.134] [AxKit] execution of:
Apache::AxKit::Language::AxPoint::handler finished
warn] [client 159.213.43.134] [AxKit] Style Provider Override:
Apache::AxKit::Provider::File
warn] [client 159.213.43.134] [AxKit] [uri] File Provider looking up uri
NULL
warn] [client 159.213.43.134] [AxKit] [uri] File Provider set filename
to /var/www/htdocs/examples/NULL
warn] [client 159.213.43.134] [AxKit] about to execute:
Apache::AxKit::Language::AxPoint::handler
warn] [client 159.213.43.134] [AxKit] AxPoint: creating parser and
handler
warn] [client 159.213.43.134] [AxKit] AxPoint: Parsing XML
warn] [client 159.213.43.134] [AxKit] Caught an exception
error] [client 159.213.43.134] [AxKit] [Error] PDFlib Error [2106]
PDF_close: Generated document doesn't contain any pages

----------------------------

I can't understand why no document is generated. 
of course i can get pdf file with axpoint from command line. 

thanks a lot in advance. 

Filippo




======================================
I messaggi inviati dall'Azienda USL 3 
sono controllati dal sistema antivirus
Imail Antivirus Server
======================================

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

Reply via email to