Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000945 [Resin] minor always 02-16-06 11:06 04-06-06 10:28
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.17
Summary 0000945: JDOM XML issues
Description (rep by Jim Spring)

I've been looking at the use of XFire for some SOAP related work and have
run across an issue that looks like it is a problem with Resin, JDom or both.
When running the XFire samples under Tomcat, things work fine. However,
if I attempt to use Resin, I get the Exception stack listed at the bottom.

In searching through the resin bug list, the only thing I find referencing JDOM
is: [^]

Any thoughts / input would be helpful.

-jim spring

org.jdom.IllegalNameException: The name "null" is not legal for JDOM/XML DocTypes: XML names cannot be null or empty.
        at org.jdom.DocType.setElementName(
        at org.jdom.DocType.<init>(
        at org.jdom.DocType.<init>(
        at org.jdom.DefaultJDOMFactory.docType (
        at org.jdom.input.DOMBuilder.buildTree(
        at org.jdom.input.DOMBuilder.buildTree(
        at :135)
        at org.codehaus.xfire.wsdl11.builder.AbstractWSDL.writeDocument(
        at org.codehaus.xfire.wsdl11.builder.WSDLBuilder.write(
        at org.codehaus.xfire.wsdl11.builder.WSDLBuilderAdapter.write (
        at org.codehaus.xfire.DefaultXFire.generateWSDL(
        at org.codehaus.xfire.transport.http.XFireServletController.generateWSDL( :304)
        at org.codehaus.xfire.transport.http.XFireServletController.doService(
        at org.codehaus.xfire.transport.http.XFireServlet.doGet(
        at javax.servlet.http.HttpServlet.service(
        at javax.servlet.http.HttpServlet.service(
        at com.caucho.server.dispatch.ServletFilterChain.doFilter( :106)
        at com.caucho.server.webapp.WebAppFilterChain.doFilter(
        at com.caucho.server.dispatch.ServletInvocation.service(
        at com.caucho.server.http.HttpRequest.handleRequest (
        at com.caucho.util.ThreadPool.runTasks(
        at :423)

Additional Information
Attached Files

- Relationships

- Notes
02-20-06 02:15

I’ve been having similar issues.

Loading up a simple Document adds a null node value to the head of the document.. Everything works fine and dandy in 3.0.14 but fails in 3.0.17.

<system-property javax.xml.parsers.DocumentBuilderFactory="com.caucho.xml.parsers.XmlDocumentBuilderFactory"/>
<system-property javax.xml.parsers.SAXParserFactory="com.caucho.xml.parsers.XmlSAXParserFactory"/>
<system-property javax.xml.transform.TransformerFactory="com.caucho.xsl.Xsl"/>

This really basic servlet ( [^] will run in both 14 & 17 but in 17 the result to the browser also includes “null” at the head of the document which causes havoc when we try and run Xpath stuff within the code.
04-06-06 10:28


- Issue History
Date Modified Username Field Change
02-16-06 11:06 ferg New Issue
02-20-06 02:15 anonymous Note Added: 0000887
03-15-06 23:52 mate Issue Monitored: mate
04-06-06 10:28 ferg Note Added: 0001029
04-06-06 10:28 ferg Assigned To  => ferg
04-06-06 10:28 ferg Status new => closed
04-06-06 10:28 ferg Resolution open => fixed
04-06-06 10:28 ferg Fixed in Version  => 3.0.19

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