[jdom-interest] ResultSetBuilder issue

Anderson, Paul D paul.d.anderson at boeing.com
Tue Nov 8 14:53:46 PST 2005


You are outputting the document directly and you need to use an
outputter. See org.jdom.output.
Your output is the correct output of the Document.toString() method.

-----Original Message-----
From: WD [mailto:webdevil2003 at excite.com] 
Sent: Tuesday, November 08, 2005 2:38 PM
To: jdom-interest at jdom.org
Subject: [jdom-interest] ResultSetBuilder issue


Hi All,
I have created a utility class that provides a method to get the
Document out of ResultSet object and then I created a JUnit test case to
test this utility class. I execute JDBC statement and get the ResultSet,
but when I try to get the Document out of this ResultSet, it is not
working. I am getting the following as an out put

[Document:  No DOCTYPE declaration, Root is [Element: <result/>]]

I am using mysql. I have verified that the ResultSet is populated with
the data. What could be the reason?

Thanks
WD




_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list