Hi,

Could anyone tell me whether the following behavious is normal for
axkit or is there something wrong with my conf or stylesheet?

Here is an excerpt from the error with AxDebugLevel set to 1 

 [AxKit] fast handler called for /index.xml
 [AxKit] some condition failed. recreating output

Here is an excerpt from my httpd.conf

 PerlModule AxKit
 PerlHandler AxKit
 AxCacheDir /export/web/apache/ax_cache
 AxNoCache Off

 <Directory "/my/axkit/stuff">
  ...

  AxDebugLevel 10
  AddHandler axkit .xml
  AddHandler axkit .xps
  AddHandler axkit .cms
  AxAddStyleMap text/xsl  Apache::AxKit::Language::LibXSLT
                                                  
  ...
 </Directory>




Here is the output from requesting the same script with AxDebugLevel
set to 10 

[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] fast handler called 
for /index.xml
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] Content Provider 
Override: Apache::AxKit::Provider::File
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] [req] File Provider 
given $r: /export/web/apache_1.3.27/htdocs/index.xml
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] checking if we 
process this resource
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] media: screen, 
preferred style: #default
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] Cache: key = 
c44c0168ac6fc1a8f3fa21689972c1f6
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] getting styles and 
external entities from the XML
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] styles not cached - 
calling $provider->get_styles()
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] using XS get_styles 
(libxml2)
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] calling 
xs_get_styles_fh()
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] calling 
xs_get_styles_str()
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] parse_pi: href = 
/default.xps
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] parse_pi: type = 
application/x-xpathscript
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] xs_get_styles 
returned: , , CONTENT
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] Calling 
GetMatchingProcessors with (screen, , , , CONTENT)
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] get_styles: loading 
style modules
[Fri Jan 24 14:32:33 2003] [warn] [client 193.60.76.109] [AxKit] get_styles: looking 
for mapping for style type: 'application/x-xpathscript'
[Fri Jan 24 14:32:34 2003] [warn] [client 193.60.76.109] [AxKit] cache doesn't exist
[Fri Jan 24 14:32:34 2003] [warn] [client 193.60.76.109] [AxKit] some condition 
failed. recreating output
[Fri Jan 24 14:32:34 2003] [warn] [client 193.60.76.109] [AxKit] styles: 
Apache::AxKit::Language::XPathScript(/default.xps)
[Fri Jan 24 14:32:34 2003] [warn] [client 193.60.76.109] [AxKit] Style Provider 
Override: Apache::AxKit::Provider::File
[Fri Jan 24 14:32:34 2003] [warn] [client 193.60.76.109] [AxKit] [uri] File Provider 
looking up uri /default.xps
[Fri Jan 24 14:32:34 2003] [warn] [client 193.60.76.109] [AxKit] [uri] File Provider 
set filename to /export/web/apache_1.3.27/htdocs/default.xps
[Fri Jan 24 14:32:34 2003] [warn] [client 193.60.76.109] [AxKit] about to execute: 
Apache::AxKit::Language::XPathScript::handler
[Fri Jan 24 14:32:34 2003] [warn] [client 193.60.76.109] [AxKit] XPathScript: Getting 
XML Source
[Fri Jan 24 14:32:34 2003] [warn] [client 193.60.76.109] [AxKit] XPathScript: 
reparsing file
[Fri Jan 24 14:32:34 2003] [warn] [client 193.60.76.109] [AxKit] XPathScript: 
Returning parsed source tree
[Fri Jan 24 14:32:34 2003] [warn] [client 193.60.76.109] [AxKit] Checking stylesheet 
mtime: 1043417950
[Fri Jan 24 14:32:34 2003] [warn] [client 193.60.76.109] [AxKit] Recompiling 
stylesheet: /export/web/apache_1.3.27/htdocs/default.xps 
[Fri Jan 24 14:32:34 2003] [warn] [client 193.60.76.109] [AxKit] XPathScript: 
extracting fro '/export/web/apache_1.3.27/htdocs/default.xps' contents: <%

....Then follows all my code (default.xps), snipped...


[Fri Jan 24 14:32:34 2003] [warn] [client 193.60.76.109] [AxKit] Compiling script:
package 
Apache::AxKit::Language::XPathScript::ROOT::export::web::apache_1_2e3_2e27::htdocs::default_2exps;
use Apache qw(exit);use XML::XPath::Node;Apache::AxKit::Langu 
age::XPathScript::Toys->import;sub handler {my ($r, $xp, $t) = @_;


.... Then my code again (default.xps) ....


[Fri Jan 24 14:32:35 2003] [warn] [client 193.60.76.109] [AxKit] Running XPathScript 
script
[Fri Jan 24 14:32:35 2003] [warn] [client 193.60.76.109] [AxKit] execution of: 
Apache::AxKit::Language::XPathScript::handler finished
[Fri Jan 24 14:32:35 2003] [warn] [client 193.60.76.109] [AxKit] Cache: key = 
5571f4dbf2c5103d9ece578a6eedd4a1
[Fri Jan 24 14:32:35 2003] [warn] [client 193.60.76.109] [AxKit] [Cache] writing cache 
file /export/web/apache/ax_cache/55/71/f4dbf2c5103d9ece578a6eedd4a1
[Fri Jan 24 14:32:35 2003] [warn] [client 193.60.76.109] [AxKit] writing xml string to 
cache and delivering to browser
[Fri Jan 24 14:32:35 2003] [warn] [client 193.60.76.109] [AxKit] [Cache] writing cache 
file /export/web/apache/ax_cache/c4/4c/0168ac6fc1a8f3fa21689972c1f6
[Fri Jan 24 14:32:36 2003] [warn] [client 193.60.76.109] [AxKit] Cache: Getting 
content-type
[Fri Jan 24 14:32:36 2003] [warn] [client 193.60.76.109] [AxKit] Cache: Sending 
untransformed content to browser



Does this show anything obvious to anyone?
It seems like it is never caching the transform which i though axkit
was supposed to do.

Thanks to anyone that can shed some light on this.

Martin

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

Reply via email to