You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Marcel <ma...@rogers.com> on 2004/02/22 01:18:31 UTC

XSLT Portlet ... Problem with importing other XSL modules

Hi there,

I have another problem: my XSLT Portlet uses the stylesheet which imports
other XSL modules. I have all stylesheets in the directory
{tomcat}\webapps\jportal\xml. The main portlet stylesheet is found and
processed, but apparently the portlet does have a problem to find imported
modules and displays this error:

problem in SAX transform: javax.xml.transform.TransformerException: Had IO
Exception with stylesheet file: tables.xsl 

(tables.xsl is the first imported module)

Is there any way how to instruct the portlet or Jetspeed itself where to
look for stylesheets?

Thank you.

Marcel


-----Original Message-----
From: Marcel [mailto:marcel_p@rogers.com] 
Sent: Saturday, February 21, 2004 6:49 PM
To: 'Jetspeed Users List'
Subject: RE: problem in SAX transform:
org.apache.xml.utils.WrappedRuntimeException


Thanks, Jason, that helped!

Cool!

-----Original Message-----
From: Jason Jones [mailto:jason@javacrawl.com] 
Sent: Saturday, February 21, 2004 6:46 PM
To: Jetspeed Users List
Subject: RE: problem in SAX transform:
org.apache.xml.utils.WrappedRuntimeException


Try just deleting these jars from the WEB-INF/lib directory (and the common
directory) all together.  I ran into similar problems and this seems to
solve them.

-----Original Message-----
From: Marcel [mailto:marcel_p@rogers.com]
Sent: Saturday, February 21, 2004 5:32 PM
To: 'Jetspeed Users List'
Subject: problem in SAX transform:
org.apache.xml.utils.WrappedRuntimeException


Hi there,

Please, could you help me? Here's my problem: I have a Java 1.4.2_03,
Jetspeed 1.4, Tomcat 4.1.29 and basically everything works fine...so far.
The only problem I do have is the following exception thrown by the XSLT
portlet ("XSLT Demo" portlet):

problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException: The
output format must have a '{http://xml.apache.org/xalan}content-handler'
property!

What's wrong?

I tried to put following jars into the Tomcat's common/endorsed directory:

xalan.jar
xercesImpl.jar
xml-apis.jar
xmlParserAPIs.jar

But no luck :o(( Of course, I restarted Tomcat several times...

Any ideas?

Thanks.

Marcel




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org