|
From: <La...@gm...> - 2006-02-17 17:36:45
|
Hi all,
I would like to create a new topicmap with TMAPI and then save this topicmap
in an XTM File. So I use the XTMSerializer from tmapi-utils in Version 0.6.
As TMAPI Implementation I use tm4j in Version 0.9.8.
If I create a topic with a variant for a basename everything looks fine.
Even when I create a topic with a scope for a basename, but when I use both
scope and variant I get an error using the XTMSerializer.
java.lang.ClassCastException: org.tm4j.topicmap.memory.TopicImpl
at org.tmapiutils.impexp.xtm.XTMSerializer.writeScope(Unknown Source)
at org.tmapiutils.impexp.xtm.XTMSerializer.writeTopic(Unknown Source)
at org.tmapiutils.impexp.xtm.XTMSerializer.writeTopic(Unknown Source)
at org.tmapiutils.impexp.xtm.XTMSerializer.serialize(Unknown Source)
at varianttest.main(varianttest.java:110)
I do not know if it is an error in the XTMSerializer or in tm4j. Does
someone know whats going wrong?
Best regards,
Lars
|