You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Chris Lo <ch...@cyberwisdom.net> on 2001/01/03 10:56:14 UTC

SAXEXception

I have a web page which contains 3 frames. Each frame is a servlet request. 
Each servlet gets data from database and generates a XML stream and then combines XSL file. The XSL files import some common XSL files. 

Sometimes, 1 or more frames got the following exception but sometimes all are normal.
Exception: Failed. : SAXException : ElemTemplateElement error: Can not add #text to xsl:call-template 

This problem occurs more frequent on JRun and JServ than WebSphere. 
I am using Xalan-Java 1.2.1

Thanks.

Regards,
Chris



Re: SAXEXception

Posted by Gary L Peskin <ga...@firstech.com>.
> Chris Lo wrote:
> 
> I have a web page which contains 3 frames. Each frame is a servlet
> request.
> Each servlet gets data from database and generates a XML stream and
> then combines XSL file. The XSL files import some common XSL files.
> 
> Sometimes, 1 or more frames got the following exception but sometimes
> all are normal.
> Exception: Failed. : SAXException : ElemTemplateElement error: Can not
> add #text to xsl:call-template
> 
> This problem occurs more frequent on JRun and JServ than WebSphere.
> I am using Xalan-Java 1.2.1
> 
> Thanks.
> 
> Regards,
> Chris

Chris --

Can you send sample XML streams and the actual XSL files that you are
using so that we can try to recreate the problem?  Have you tried this
using the latest XalanJ2 beta?

Gary