Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003349 [Resin] minor always 02-19-09 14:38 08-26-09 10:36
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.1 Product Version 4.0.0
  Product Build
Summary 0003349: JSTL XML taglib
Description (Aaron Freeman)

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.java:195
)
    at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java: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}

Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0004166)
ferg
08-26-09 10:36

jsp/1g0d
 

- Issue History
Date Modified Username Field Change
02-19-09 14:38 ferg New Issue
08-26-09 10:36 ferg Note Added: 0004166
08-26-09 10:36 ferg Assigned To  => ferg
08-26-09 10:36 ferg Status new => closed
08-26-09 10:36 ferg Resolution open => fixed
08-26-09 10:36 ferg Fixed in Version  => 4.0.1


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker