Re: Associations in TM/XML

Lars Heuer <[email protected]>
Newsgroups gmane.text.xml.xtm.general
Organization Semagia
Message-ID <[email protected]>
Hi Robert,

[...]
> association only at one of the players. Or is it an error to have it
> at both? Or is both acceptable to allow flexible output depending on  
> the requirements of the the TM/XML consuming process.

Acc. to my understanding this wouldn't be an error, just an redundant
information.

> Lastly, i wonder how should a deserializer recognize that two
> elements correspond to the same association (without item  
> identifiers)? The deserialization procedure at [2] seems to create  
> two distinct association statements.

Well, the TMDM equality rules would kick in an merge the associations:
<http://www.isotopicmaps.org/sam/sam-model/#sect-association>

    """
    Equality rule: Association items are equal if the values of their
    [scope], [type], and [roles] properties are equal.
    """

Best regards,
Lars
-- 
Semagia 
<http://www.semagia.com>

<http://www.topicmaps.de/mailinglist/> German Topic Maps mailing list
<http://tinytim.sourceforge.net/> Open Source Topic Maps engine
<http://mappa.semagia.com/> Mappa - Python Topic Maps engine
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.