TResponse / Query / JDOM

I have the following code,
and get the error mesage below.

By the way …
queryValue = “/labDevices/vendor sortby(@name)”
… is working fine with “Interactive Interface”

-----------------------------------------------
TConnection connection = TConnectionFactory.getInstance().newConnection( DATABASE_URI );
TXMLObjectModel jdom = TJDOMObjectModel.getInstance();
TXMLObjectAccessor accessor = connection.newXMLObjectAccessor( TAccessLocation.newInstance( “lab” ), jdom );

String queryValue = “/labDevices/vendor sortby(@name)”;
TQuery query = TQuery.newInstance(queryValue);

System.out.println(“hallo 1”);
TResponse response = accessor.query(query);
System.out.println(“hallo 2”);

TXMLObjectIterator objectIterator = response.getXMLObjectIterator();
TJDOMElementIterator i = new TJDOMElementIterator(objectIterator);

while( i.hasNext() ) {
org.jdom.Element currentElement = i.next();
String vendorName = (String) currentElement.getAttributeValue(“name”);
System.out.println("vendor : " +vendorName);
}

connection.close();

--------------------------------
Error Message :

hallo 1
java.lang.NoSuchMethodError: org.jdom.Element.getMixedContent()Ljava/util/List;
at com.softwareag.tamino.db.api.response.jdom.TJDOMInputStreamInterpreter.setResponseQueryContent(Unknown Source)
at com.softwareag.tamino.db.api.response.jdom.TJDOMInputStreamInterpreter.doInterpret(Unknown Source)
at com.softwareag.tamino.db.api.response.TInputStreamInterpreter.interpret(Unknown Source)
at com.softwareag.tamino.db.api.response.TResponseBuilderImpl.doBuild(Unknown Source)
at com.softwareag.tamino.db.api.response.TResponseBuilderImpl.buildForXML(Unknown Source)
at com.softwareag.tamino.db.api.accessor.TXMLObjectAccessorImpl.query(Unknown Source)
at LabDevices.XMLGreeting.runProgram(XMLGreeting.java:54)
at LabDevices.XMLGreeting.(XMLGreeting.java:39)
at LabDevices.XMLGreeting.main(XMLGreeting.java:91)

[This message was edited by Aykut on 31 May 2003 at 20:04.]

I already found the solution.

For those, who may also have interest:
Use the jdom.jar file which is in the
Tamino Software package.
I assume it’s an old version of jdom Api.

The one it’s working is 77KB
The one I used was 125KB