Re: Associations in TM/XML

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

Thank you for you answer. Find a comment further down below.

Am 16.08.2010 um 17:41 schrieb Lars Heuer:

> [...]
>>> 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.
>
> I still think it wouldn't be an error, but you may get strange results
> if you use the TM/XML topic map in together with XSL(T): A
> stylesheet may not be prepared to deal with duplicates (that applies
> to names, occurrences etc. as well).

I was thinking actually the other way round: a stylesheet might  
expect association statements at certain elements and they are not  
there. If you only serialize them on one element it requires  
coordination between TM/JSON producer and consumer e.g. "take care  
you find all authorship associations at the person, but not at the  
documents!". I think the serialization procedure is quite explicit in  
the matter stating "For each association role of the topic, produce  
an ...", so i would consider it an error not to find it at all  
players. IMHO it is better not to require it at all players, but the  
spec says otherwise :)

Robert
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.