tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james_strac...@yahoo.co.uk>
Subject Re: Namespace not supported by SAXParser:JSP,XTAGS
Date Thu, 06 Dec 2001 13:22:45 GMT
What servlet container are you using? It sounds like xalan can't load a SAX
parser that supports namespaces.
I'd put a recent xalan.jar and crimson.jar in the /WEB-INF/lib directory as
well and you should be fine.

James
----- Original Message -----
From: "Praveen" <praveen@elxlinux.com>
To: <taglibs-user@jakarta.apache.org>
Cc: <bayard@generationjava.com>; <james_strachan@yahoo.co.uk>;
<tromm@oTRIs.de>
Sent: Thursday, December 06, 2001 1:22 PM
Subject: Namespace not supported by SAXParser:JSP,XTAGS


> Hi,
> Forgive me to send this mail to your personal IDs becoz I didn't know how
to
> subscribe.
>   I'm using XTAGS in a JSP file. I think I've configured well. I copied
> xtags.jar,log4j.jar and dom4j.jar to /WEB-INF/lib. xtags.tld to /WEB-INF/
.
> HERE IS THE CODE:
>
> <%@ taglib uri="http://jakarta.apache.org/taglibs/xtags-1.0"
prefix="xtags" %>
> <%@ page import="javax.servlet.*, javax.servlet.http.*" %>
> <xtags:style xml="pulmonology.xml" xsl="pulmo_index.xsl"/>
>
> ERROR:
> javax.servlet.ServletException: Namespace not supported by SAXParser
> at
>
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java)
> at
>
_0002findex_00031_0002ejspindex1_jsp_7._jspService(_0002findex_00031_0002ejs
pindex1_jsp_7.java:103)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at
>
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java)
> at org.apache.tomcat.core.Handler.service(Handler.java)
> at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java)
> at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java)
> at org.apache.tomcat.core.ContextManager.service(ContextManager.java)
> at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java)
> at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java)
> at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java)
> at java.lang.Thread.run(Thread.java:484)
> Root cause:
> javax.xml.transform.TransformerConfigurationException: Namespace not
> supported by SAXParser
> at
>
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:684)
> at org.apache.taglibs.xtags.xslt.StyleTag.doEndTag(StyleTag.java:197)
> at
>
_0002findex_00031_0002ejspindex1_jsp_7._jspService(_0002findex_00031_0002ejs
pindex1_jsp_7.java:90)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at
>
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java)
> at org.apache.tomcat.core.Handler.service(Handler.java)
> at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java)
> at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java)
> at org.apache.tomcat.core.ContextManager.service(ContextManager.java)
> at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java)
> at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java)
> at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java)
> at java.lang.Thread.run(Thread.java:484)
> Please help me out.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message