You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by xe...@xml.apache.org on 2004/09/07 00:33:37 UTC
[jira] Resolved: (XERCESJ-1006) DOMSerializerImpl.writeToString() throws ClassCastException when serializing non-xerces dom node
Message:
The following issue has been resolved as FIXED.
Resolver: Michael Glavassevich
Date: Mon, 6 Sep 2004 3:32 PM
Should be fixed in CVS. Thanks for reporting.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCESJ-1006
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCESJ-1006
Summary: DOMSerializerImpl.writeToString() throws ClassCastException when serializing non-xerces dom node
Type: Bug
Status: Resolved
Priority: Major
Resolution: FIXED
Project: Xerces2-J
Components:
Serialization
Versions:
2.6.2
Assignee: Michael Glavassevich
Reporter: Yoon Kyung Koo
Created: Mon, 6 Sep 2004 8:40 AM
Updated: Mon, 6 Sep 2004 3:32 PM
Environment: XML-XERCES CVS version as of Sep, 7th. 2004.
JDK 1.4.2_04
WINDOWS 2000 sp4
Description:
LSSerializer writeToString fails when serializing non-xerces dom nodes.
The stack-trace line number can be slightly different from current CVS snapshot because I added 1 or 2 debugging lines.
I tested with Apache WS-Axis current CVS snapshot which implements non-xerces dom nodes.
class name is org.apache.axis.message.NamedNodeMapImpl
java.lang.ClassCastException
at org.apache.xml.serialize.DOMSerializerImpl.verify(DOMSerializerImpl.java:1075)
at org.apache.xml.serialize.DOMSerializerImpl.prepareForSerialization(DOMSerializerImpl.java:1016)
at org.apache.xml.serialize.DOMSerializerImpl.writeToString(DOMSerializerImpl.java:492)
at com.tmax.eai.util.XMLParseUtil.getXMLPayload(XMLParseUtil.java:322)
at com.tmax.eai.soapbc.soap.MessageTranslator.unmarshalSOAPRequest(MessageTranslator.java:104)
at com.tmax.eai.soapbc.server.WSRequestProcessor.processRequest(WSRequestProcessor.java:143)
at com.tmax.eai.soapbc.server.WSEndpointServlet.doPost(WSEndpointServlet.java:245)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at jeus.servlet.engine.ServletWrapper.executeServlet(ServletWrapper.java:318)
at jeus.servlet.engine.ServletWrapper.execute(ServletWrapper.java:185)
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org