Hi,
Randy, sorry for bothering you again.
I have tried to install on two Win98 and one Win2000, without success.

1.Clear out Apache & Perl
2.install ActivePerl-5.6.1.625-TRIAL3-MSWin32-x86-multi-thread.msi
3.install apache_1.3.20-win32-no_src-r2.msi
4.ppm install
   http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl.ppd
   http://theoryx5.uwinnipeg.ca/ppmpackages/AxKit.ppd
   http://theoryx5.uwinnipeg.ca/ppmpackages/Storable.ppd
   http://theoryx5.uwinnipeg.ca/ppmpackages/XML-LibXML.ppd
   http://theoryx5.uwinnipeg.ca/ppmpackages/XML-XPath.ppd
   http://theoryx5.uwinnipeg.ca/ppmpackages/libapreq.ppd

and everything go fine except for AxAddProcessors.
When I use AxAddProcessors I get XML tree.
Did I miss something? or should I install libxml2 manually?

error_log ------------------
[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] handler called
for /ooyatest/aaa.xml
[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] checking if we
process this resource
[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] media: screen,
preferred style: #default
[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] Cache: key =
358ba17b29fcd49f6e039ae18e88128e
[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] getting styles
and external entities from the XML
[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] styles not
cached - calling $provider->get_styles()
[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] using XS
get_styles (libxml2)

[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] calling
xs_get_styles_fh()

[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] xs_get_styles
returned: , /ooyatest/aaa.dtd, aaa

[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] Calling
GetMatchingProcessors with (screen, , , /ooyatest/aaa.dtd, aaa)
[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] Caught an
exception
[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] [DECLINED]
From: C:/Perl/site/lib/Error.pm : 146
[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] handler called
for /ooyatest/aaa.dtd
[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] checking if we
process this resource
[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit]
'c:/apache/htdocs/ooyatest/aaa.dtd' not recognised as XML
[Sun Dec 16 21:15:13 2001] [warn] [client 127.0.0.1] [AxKit] provider
declined

.htaccess --------------------
<AxMediaType screen>
        <AxStyleName #default>
   AxAddDTDProcessor application/x-xpathscript /ooyatest/aaa.xps \
            /ooyatest/aaa.dtd
   AxAddDTDProcessor application/x-xpathscript /ooyatest/bbb.xps \
            /ooyatest/bbb.dtd
        </AxStyleName>
</AxMediaType>
AxDebugLevel 10

aaa.xml ----------------------
<?xml version="1.0"?>
<!DOCTYPE aaa SYSTEM "/ooyatest/aaa.dtd">
<aaa>
 <head>
  <title>Test Page</title>
 </head>
 <body><![CDATA[
this is aaa
]]></body>
</aaa>

aaa.xps -----------------------
<html>
<head>
 <title><%= findvalue('/aaa/head/title/text()') %></title>
</head>
<body bgcolor="#FFFFFF">
for aaa.dtd<br>
<%= findvalue('/aaa/head/title/text()') %>
</body>
</html>

aaa.dtd ---------------------
<!ELEMENT aaa (head,body)>
<!ELEMENT head (title,update)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT update (#PCDATA)>
<!ELEMENT body (#PCDATA)>

// Tomoko Ohoya
// [EMAIL PROTECTED]
// http://www.kcn.ne.jp/~idic/


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

Reply via email to