jdom beta6 vs jdom beta8

I’m using jdom model for xml files loaded by Tamino. But with jdom beta6 i get
C:\project\myjdomfile.java:95: cannot resolve symbol
symbol : method setAttribute (java.lang.String,java.lang.String)
location: class org.jdom.Element
generalUserInfo.setAttribute(“userID”, userID); (also userID is a String)

Instead with jdom beta8 i get an rmi error (that have posted in their forum)…
Have anyone experienced this problem?
I’m sorry for the off topics post but this error is drive my crazy…


TaminoAPI4j is distributed with JDOM Beta 6. This version of JDOM does not include a



I have attached a small example of attribute handling that works with this version of JDOM and may help solve your problem.

As far as I know, the only version of JDOM supported for use in the TaminoAPI4J is the one distributed with it (Beta6).

TestAttribute.java (1.55 KB)

Just to add one more point:

The next version of Tamino (v4) will support JDOM Beta8.

Stuart Fyffe-Collins
Software AG (UK) Ltd.

Hi Bill, thanks for the file you posted. This file works with the jdom beta6 (thats the one with tamino), but i get several error with jdom beta8 also if the error i get java.lang.NoSuchMethodError is on the jdom faq
in the section:
“I tried to use JDOM and get an error like this"
I tried to do the things they explain, but i don’t resolve my problem.
So i came back to jdomb6.
Now my situation is this i have an xml file with an unset attribute (userID=”") and i want now to set it. So i remove the attribute and then i insert the same attribute with some value (userID=“some user”). My code is:

LinkedList attList = new LinkedList(); Attribute att = new Attribute(“userID”,“some user”);

My question is the following: is it possible to update the attribute without delete before the attribute?

…No I don’t think this is possible without a setAttribute method.