You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Jon Nelson <jn...@logicbay.com> on 2000/06/29 13:44:11 UTC

DefaultApplyXSL returns text/plain

I know this is a developer list, but there is not a user list, so here is my
question.

I have installed a "fresh" copy of Tomcat 3.1 on my system.  I have
installed xalan_1_1_D01.  When I try to run the DefaultApplyXSL servlet, it
only returns the output as text/plain.  I even added the <xsl:output
method="html"> tag to my stylesheet, but it doesn't help.

Does anyone have any ideas on what is wrong or where I can look?  Thanks.

Jon Nelson



ClassPath for Java extensions??

Posted by Philippe Vijghen <Ph...@forem.be>.
Hi,

I am in the following situation:
	* Xalan is called from a java environmenent (servlet-based app server)
	* stylesheet wants to access some Java code

However, I get continuously the following message:
	> Call to extension element failed: be.acse.xsl.extensions.Lookup

...although the mentionned class is available from the calling servlet
environment.


Note that I have the same message for the samples provided with Xerces like
for .\samples\Extensions\3numlistJava.xsl
The only way I found to make it work is to put salansamples.jar in
jre/lib/ext
It doesn't work simply by compiling MyCounter.java and having the resulting
class
file somewhere in the class path...? :(


The question is:
////////////////

	Q which are the constraints on the way for resolving classes :
	  is it the traditional jre/lib/ext + CLASSPATH or is it a custom
	  loading mechanism

Thanks in advance for your support,

	Philippe
---
Philippe Vijghen  phv@acse.be
Project Manager   +32 (2) 705.70.21
ACSE s.a.         Bd Général Wahis 29. B-1030 Bruxelles. Belgium


RE: DefaultApplyXSL returns text/plain

Posted by Telin Yang <ty...@mobilocity.net>.
I too have the same problem/question, glad that Jon asked. Could someone
help us out?
Thanks.

-----Original Message-----
From: Jon Nelson [mailto:jnelson@logicbay.com]
Sent: Thursday, June 29, 2000 7:44 AM
To: 'xalan-dev@xml.apache.org'
Subject: DefaultApplyXSL returns text/plain


I know this is a developer list, but there is not a user list, so here is my
question.

I have installed a "fresh" copy of Tomcat 3.1 on my system.  I have
installed xalan_1_1_D01.  When I try to run the DefaultApplyXSL servlet, it
only returns the output as text/plain.  I even added the <xsl:output
method="html"> tag to my stylesheet, but it doesn't help.

Does anyone have any ideas on what is wrong or where I can look?  Thanks.

Jon Nelson