From: Hannes N. <h.n...@go...> - 2009-08-17 15:25:47
|
Hi everybody, testing the CTM-export of Onotoa I realized a bug (or feature) of the CTM serializer. The topics, using the PSIs of the standard, like tmcl:topic-type, will be filtered, so they are not int the CTM file. These topics only will be filtered, if they only have one subject identifier and participate in any association. This works for the topic-types, because the type-instance association is hidden by the addTypes method in TMAPI. However there is a problem if tmdm:subject or tmdm:topic-name is used in a TMCL constraint. Because they are explicitly in an association. Long story short, the question is, how do we solve this problem. There are a few options: 1. Let these topic be in the CTM file, which means having an entry like: "tmdm:subject ." - definitly not what I prefer. 2. Filter these types ignoring the association in an additional filter method. 3. Always ignore associations where topics of the standards are used. I would prefer 3. Even if the types are used in an association it is not necessary to specify them before. CTM creates topics on demand, if I remember correctly. What do you think? regards Hannes -- Onotoa - Simply create your Topic Maps schemas. http://onotoa.topicmapslab.de http://www.topicmapslab.de/people/Hannes_Niederhausen |