"Anna Afonchenko" <[EMAIL PROTECTED]> writes:

> Hi All.
> 
> Ok, I hope this is the last question for today.
> 
> In my xsl stylesheet I use some java extension class ParseTagContent.class.
> 
> In my xsl I have declared xmlns:java="xalan://ParseTagContent"
> 
> The class ParseTagContent.class is in the same directory with the xsl.
> 
>  
> 
> When I run this xsl using a batch file (not through Cocoon), everything is
> fine.
> 
> But when I try to run it through Cocoon, I get the following error message:
> 
> The URI xalan://ParseTagContent does not identify an external Java class
> 
> description: org.apache.cocoon.ProcessingException: Could not read resource
> file:/C:/Program Files/Apache Group/Tomcat
> 4.1/webapps/cocoon/ub/violations.html:
> javax.xml.transform.TransformerException: The URI xalan://ParseTagContent does
> not identify an external Java class
> 
>  
> 
> I guess this is because Cocoon cannot find the .class file.
> 
> Where should I put this class so that both Cocoon and my xsl could find it?

Put it into WEB-INF/classes

Martin

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to