| Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 | From: Matt Sergeant <[EMAIL PROTECTED]>
 | Date: Wed, 26 Jun 2002 19:48:13 +0100
 | Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
 | 
 | On Wednesday 26 June 2002 7:15 pm, Phil Macias wrote:
 | > 2. Here are the relevant lines from httpd.conf:
 | >
 | >     PerlModule AxKit
 | 
 | Good start ;-)
 | 
 | >     SetHandler perl-script
 | >     PerlHandler AxKit
 | 
 | Remove these two lines. This is the problem with your setup - this installs 
 | the "slow handler". If you remove these your log lines should change to say 
 | "fast handler called for <uri>".
 | 
 | >     AddHandler axkit .xml
 | >     AddHandler axkit .xsp
 | >     AddHandler axkit .dkb
 | 
 | Add:
 | 
 | AddHandler axkit .axp
 | 
 | >     AxDebugLevel 50
 | 
 | Good, but also add:
 | 
 | AxLogDeclines On
 | 
 | Matt.
 | 

Thanks, Matt.

I made the (above) changes. When I load bleach.axp the browser hangs
and error.log shows:

  [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/axpoint
  [AxKit] pi_get_styles: Invalid <?xml-stylesheet?> processing instruction
  
The "paragraph" below continues ad infinitum (hence the hanging browser:

  [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] 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/axpoint
  [AxKit] pi_get_styles: Invalid <?xml-stylesheet?> processing instruction
  

...with the occasional inclusion of:
  
  [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'
   signal Segmentation fault (11)
   signal Segmentation fault (11)
   signal Segmentation fault (11)
   signal Segmentation fault (11)
   signal Segmentation fault (11)
  [AxKit] fast handler called for /~pim/xml/bleach.axp


"ps" and "top" show only an httpd process running errantly.

For refernece, here is bleach.axp once again:

    <?xml version="1.0"?>
    <slideshow>
    <title>The Secrets of Using Acme::Bleach</title>
    <slide>
    <title>After</title>
    <point level="1">When running a script that uses
    Acme::Bleach for the first time, all the distracting
    printable characters are removed from your source file
    and only the 'use Acme::Bleach' line appears.</point>
    <point level="2">The scary part is, the script
    still works as before.</point>
    <source-code>
    use Acme::Bleach; # prints
    Bactrian Camel (Camelus bactrianus)
    Dromedary, or Arabian Camel (Camelus dromedarius)
    ...
    </source-code>
    </slide>
    </slideshow>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phil Macias * [EMAIL PROTECTED] * Princeton, NJ

     ___,_
      |_|_,          609 987 5059 office         
        |            609 203 5874 cell           
        `/`--



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

Reply via email to