Is there any way to swap out the library that 4.0 is bombing on with a 3.2
library to keep me going, or am I pretty much stuck at this point?  I love
the IoC in 4.0 and don't want to have to go back to 3.2 if I can avoid it.

Aaron

> This code works on 3.0 and 3.1 ... I don't see why it would fail under
> Resin
> 4.0.  The exception is being thrown on the <x:parse> statement.  If you
> comment it out the error is not thrown.  First the error:
> 
> 500 Servlet Exception
> 
> [show] org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to
> create
> or
> change an object in a way which is incorrect with regard to namespaces.
> 
> javax.servlet.ServletException: javax.servlet.jsp.JspException:
> org.w3c.dom.DOMException:
> NAMESPACE_ERR: An attempt is made to create or change an object in a
> way
> which is incorrect with regard to namespaces.
>       at
> com.caucho.jsp.PageContextImpl.handlePageException(PageContextImpl.java
> :1237
> )
>       at _jsp._test__jsp._jspService(_test__jsp.java:30)
>       at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
>       at com.caucho.jsp.Page.pageservice(Page.java:536)
>       at
> com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.jav
> a:195
> )
>       at
> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.j
> ava:1
> 84)
>       at
> com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.
> java:
> 264)
>       at
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:303)
>       at
> com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:
> 603)
>       at
> com.caucho.server.port.TcpConnection$AcceptTask.doAccept(TcpConnection.
> java:
> 1242)
>       at
> com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:
> 1183)
>       at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:769)
>       at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:686)
>       at java.lang.Thread.run(Thread.java:619)
> 
> 
> 
> 
> And now the code that you can copy/paste into a test.jsp and run it
> verbatim
> to see the error.
> 
> 
> <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"; prefix="fmt" %>
> <%@ taglib uri="http://java.sun.com/jsp/jstl/xml"; prefix="x" %>
> 
> <c:url var="url" value="http://maps.google.com/maps/geo";>
>       <c:param name="q" value="1845 Fairmount St.,Wichita,KS,67260"/>
>       <c:param name="output" value="xml"/>
>       <c:param name="oe" value="utf8"/>
>       <c:param name="sensor" value="false"/>
>       <c:param name="key"
> value="ABQIAAAAgrj58PbXr2YriiRDqbnL1RRdqDCIfn-akWLPXbZqJg-
> hQ6eHehSRJ1rozvQIj
> 0_jjwfMfzxMVY23oQ"/>
> </c:url>
> 
> <c:import scope="request" var="googleXml" url="${url}" />
> <x:parse scope="request" var="googleDoc"
> xml="${requestScope.googleXml}" />
> 
> ${url}
> 
> ${googleXml}
> 
> 
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to