You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by GOMEZ Henri <hg...@slib.fr> on 2000/03/08 16:52:20 UTC

xalan-j 0.19.5 and jserv 1.1

Hi,

I'm running Apache 1.3.12 + mod_jserv 1.1 + mod_ssl 2.6.2 on a Redhat 6.1
box with latest IBM JDK 1.1.8.

I use xerces 1.0.1, xalan 0.19.5 and cocoon 1.7.

Cocoon works fine but when I tried the DefaultApplyXSL example via 

http://mysys/servlet/DefaultApplyXSL/....

getStylesheet() resulted in ApplyXSLException
Parsing XML Document from request parameter:
http://mysys/hello.xml?xslURL=/hello.xsl

java.lang.NullPointerException
    at DefaultApplyXSL.getMedia(Compiled Code)
    at DefaultApplyXSL.getStylesheet(Compiled Code)
    at ApplyXSL.process(Compiled Code)
    at ApplyXSL.doGet(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(Compiled Code)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)

[08/03/2000 16:50:26:297 CET] DefaultApplyXSL: HTTP Status Code: 200 -   No
Conflict Warnings = false  Transformation time: 189 ms


and in my other log ...

[08/03/2000 16:59:56:791] (ERROR) ajp12: Servlet Error: <B>null
<BR>getStylesheet() resulted in ApplyXSLException <BR>Parsing XML Document
from PathInfo: /hello.xml <BR></B> <BR>
[08/03/2000 16:59:56:791] (ERROR) an error returned handling request via
protocol "ajpv12"
~

Any idea, since hello.xsl, hello.xml are in both http://mysys/ and
http://mysys/servlet/

-
Henri Gomez                 ___[_]____
EMAIL : gomez@slib.fr         (. .)                     
PGP KEY : 4912D659    ...oOOo..(_)..oOOo...
PGP Fingerprint : 8CAD0D50356DA7E45C540B010FFE39E8