Re: Some questions regarding TM/XML

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

> 1. Is there an informally agreed upon media type for TM/XML, e.g.
> "application/tmx+xml"?

Not that I am aware of. In my implementations I use
"application/x-tm+tmxml" and as fallback "application/xml".

> 2. Is there a deeper reason why the value of a name is wrapped in a
> separate "tm:value" element, but the value of the occurrence is  
> becoming the content of the occurrence element?

Yes, otherwise names and occurrences cannot be distinguished.

Example for a valid *occurrence*:

    <iso:topic-name>I am not a name</iso:topic-name>


> 3. Any new developments regarding TM/XML?

We changed the schema a bit to allow more freedom regarding the
ordering of identities etc., c.f.
<http://www.ontopia.net/topicmaps/materials/tmxml.rnc>

So, the latest version is 1.1


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.