From: Smith, T. <Tim...@ds...> - 2002-02-22 01:52:15
|
Okay, I have been using <instanceOf> for parent-child relationships. On the topic map mail list someone said this was bad and the way to go was > <association> > <instanceOf><topicRef xlink:href="#parent-child"/></instanceOf> > <member> > <roleSpec><topicRef xlink:href="#parent"/></roleSpec> > <topicRef xlink:href="#BA"/> > </member> > <member> > <roleSpec><topicRef xlink:href="#child"/></roleSpec> > <topicRef xlink:href="#BA1"/> > </member> > </association> I now have <association> <instanceOf><topicRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#superclass-subclass"/> </instanceOf> <member> <roleSpec><topicRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#superclass"/></roleSpe c> <topicRef xlink:href="#A-Parent"/> </member> <member> <roleSpec><topicRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#subclass"/></roleSpec> <topicRef xlink:href="#A-Child"/> </member> </association> HOWEVER as I understand it that would be dynamic interlinking/merging, which is not supported by TM4j (yet) CONSEQUENTLY am I required to redefine these 3 concepts with appropriate SIs, and if I do, will they STILL count as PSIs to TM4j (so I can check for PSI types) Puzzledly yours, Tim Smith |