From: Hannes N. <h.n...@go...> - 2009-08-18 12:53:58
|
Well, actually this line is completely unnecessary because i added TMDM.SUBJECT to the locators regarding Occurrences. (Because it is used as occurrence-type.) I thought I already removed it.. obviously not :( regards Hannes On Tue, Aug 18, 2009 at 1:46 PM, Lars Heuer<he...@se...> wrote: > Hi Hannes, > >>> I see. Do you implement it (either (2) or (3))? >> I will implement (3) tomorrow morning. > > Thanks. > > I changed a few lines, though: > > // remove tmdm:subject, because filter below doesn't work. tmdm:subject > plays a role, so > // _omitTopic returns false - we definitly don't want "tmdm:subject ." in > our ctm file, do we? > - Topic topic = topicMap.createTopicBySubjectIdentifier(TMDM.SUBJECT); > - if ( (topic!=null) && (topics.contains(topic)) ) { > + Topic topic = topicMap.getTopicBySubjectIdentifier(TMDM.SUBJECT); > + if (topic != null) { > topics.remove(topic); > } > > > I don't see a reason to create tmdm:subject if it does not exist in > the topic map. If we create tmdm:subject, the topic will never be > null. > > Committed in rev. 354. > > Best regards, > Lars > -- > Semagia > <http://www.semagia.com> > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > tinyTiM-discuss mailing list > tin...@li... > https://lists.sourceforge.net/lists/listinfo/tinytim-discuss > -- Onotoa - Simply create your Topic Maps schemas. http://onotoa.topicmapslab.de http://www.topicmapslab.de/people/Hannes_Niederhausen |