Hello,

I'm trying to build AxKit 1.6.2 on a RH 7.3 system.  It seems to compile ok, but when I go to run the tests, the xslt-basic tests fail, so it seems as if something's wrong with the stylesheet includes.  I uncommented the warn() lines in the tests and ran in verbose mode and it looks like nothing is being returned at all from the tests that are failing:

[snip]
xslt-basic/01.......1..1
ok 1
ok
xslt-basic/02_include.1..1
GOT CONTENT: at xslt-basic/02_include.t line 10.
not ok 1
# Test 1 got: '0' (xslt-basic/02_include.t at line 15)
#   Expected: '1' (Testing stylesheet include behavior.)
FAILED test 1
Failed 1/1 tests, 0.00% okay
xslt-basic/03_document_1arg.1..1
GOT CONTENT: at xslt-basic/03_document_1arg.t line 10.
not ok 1
# Test 1 got: '0' (xslt-basic/03_document_1arg.t at line 15)
#   Expected: '1' (Testing stylesheet include behavior.)
FAILED test 1
Failed 1/1 tests, 0.00% okay
xslt-basic/04_document_2args.1..1
GOT CONTENT: at xslt-basic/04_document_2args.t line 10.
not ok 1
# Test 1 got: '0' (xslt-basic/04_document_2args.t at line 15)
#   Expected: '1' (Testing stylesheet include behavior.)
FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test                    Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------xslt-basic/02_include.t                      1    1 100.00%  1
xslt-basic/03_document_1arg.t                1    1 100.00%  1
xslt-basic/04_document_2args.t                1    1 100.00%  1
3 subtests skipped.
!!! error running tests (please examine t/logs/error_log)

I've also attached the Apache error_log from the test run, I don't see any "error" lines in there but I'm still pretty new to AxKit to not really sure what I should be looking for.

System/SW info:
I'm running a RH 7.3 system with the "stock" apache (1.3.27-2), perl (5.6.1-34.99.6), and mod_perl (1.26-5) RPMs.  I've got the latest libxml2 (2.5.9) and libxslt (1.0.32) RPMs from xmlsoft.org and XML::LibXSLT 1.53 from CPAN.  Apache::Test version is 1.03.

I'm wondering if I've got some bad (or too new?) combination of the libxml2/libxslt and/or CPAN libraries?  Anyone have any suggestions as to what I might have wrong here?

Thanks in advance!

-steve

[Thu Aug 14 16:04:55 2003] [info] mod_unique_id: using ip addr 47.17.209.18
[Thu Aug 14 16:04:56 2003] [info] Created shared memory segment #56852488
[Thu Aug 14 16:04:56 2003] [info] allocated semaphore #1081353
[Thu Aug 14 16:04:56 2003] [info] mod_unique_id: using ip addr 47.17.209.18
[Thu Aug 14 16:04:57 2003] [info] Created shared memory segment #56918024
[Thu Aug 14 16:04:57 2003] [info] allocated semaphore #1114121
[Thu Aug 14 16:04:57 2003] [info] created shared memory segment #56950793
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] fast handler called for 
/xslt-basic/01.xml
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] Content Provider 
Override: Apache::AxKit::Provider::File
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] decoding from UTF-8
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [req] File Provider given 
$r: /usr/src/redhat/BUILD/AxKit-1.62/t/htdocs/xslt-basic/01.xml
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] checking if we process 
this resource
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] media: screen, preferred 
style: #default
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] Cache: key = 
65696660b16e48a8512dc004bc6d291c
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] getting styles and 
external entities from the XML
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] styles not cached - 
calling $provider->get_styles()
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] using XS get_styles 
(libxml2)
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] encoding to UTF-8
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] calling xs_get_styles_fh()
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] calling 
xs_get_styles_str()
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] xs_get_styles returned: , 
, root
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] Calling 
GetMatchingProcessors with (screen, , , , root)
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] get_styles: loading style 
modules
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] get_styles: looking for 
mapping for style type: 'text/xsl'
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] cache doesn't exist
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] some condition failed. 
recreating output
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] styles: 
Apache::AxKit::Language::LibXSLT(/style/xslt-basic/01.xsl)
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] Style Provider Override: 
Apache::AxKit::Provider::File
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [uri] File Provider 
looking up uri /style/xslt-basic/01.xsl
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [uri] File Provider set 
filename to /usr/src/redhat/BUILD/AxKit-1.62/t/htdocs/style/xslt-basic/01.xsl
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] about to execute: 
Apache::AxKit::Language::LibXSLT::handler
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [LibXSLT] getting the XML
parser match_cb:  at 
/usr/src/redhat/BUILD/AxKit-1.62/lib/Apache/AxKit/Language/LibXSLT.pm line 55.
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [LibXSLT] parsing 
stylesheet
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [LibXSLT] parsing 
stylesheet /style/xslt-basic/01.xsl
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [LibXSLT] performing 
transformation
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [LibXSLT] transformation 
finished, creating XML::LibXML::Document=SCALAR(0x843865c)
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [LibXSLT] outputting to $r
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [LibXSLT] storing results 
in pnotes(dom_tree) (AxKit::Apache=SCALAR(0x840f514))
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] 
Apache::AxKit::Language::LibXSLT::handler finished with code 0
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] execution of: 
Apache::AxKit::Language::LibXSLT::handler finished
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] delivering to browser
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] Delivering xml_string
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] writing xml string to 
browser
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] fast handler called for 
/xslt-basic/02_include.xml
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] Content Provider 
Override: Apache::AxKit::Provider::File
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] decoding from UTF-8
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [req] File Provider given 
$r: /usr/src/redhat/BUILD/AxKit-1.62/t/htdocs/xslt-basic/02_include.xml
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] checking if we process 
this resource
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] media: screen, preferred 
style: #default
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] Cache: key = 
2493548456cbdabe3e9b6ee16300555e
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] getting styles and 
external entities from the XML
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] styles not cached - 
calling $provider->get_styles()
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] using XS get_styles 
(libxml2)
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] encoding to UTF-8
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] calling xs_get_styles_fh()
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] calling 
xs_get_styles_str()
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] xs_get_styles returned: , 
, root
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] Calling 
GetMatchingProcessors with (screen, , , , root)
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] get_styles: loading style 
modules
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] get_styles: looking for 
mapping for style type: 'text/xsl'
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] cache doesn't exist
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] some condition failed. 
recreating output
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] styles: 
Apache::AxKit::Language::LibXSLT(/style/xslt-basic/02_include.xsl)
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] Style Provider Override: 
Apache::AxKit::Provider::File
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [uri] File Provider 
looking up uri /style/xslt-basic/02_include.xsl
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [uri] File Provider set 
filename to /usr/src/redhat/BUILD/AxKit-1.62/t/htdocs/style/xslt-basic/02_include.xsl
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] about to execute: 
Apache::AxKit::Language::LibXSLT::handler
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [LibXSLT] getting the XML
parser match_cb:  at 
/usr/src/redhat/BUILD/AxKit-1.62/lib/Apache/AxKit/Language/LibXSLT.pm line 55.
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [LibXSLT] parsing 
stylesheet
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] [LibXSLT] parsing 
stylesheet /style/xslt-basic/02_include.xsl
[Thu Aug 14 16:04:59 2003] [warn] [client 127.0.0.1] [AxKit] LibXSLT match_uri: 
file:///etc/xml/catalog

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

Reply via email to