[sc34wg3] XTM 2.0 - One topic map per XTM file?

Lars Marius Garshol larsga at ontopia.net
Sat Mar 18 10:52:24 EST 2006


* Lars Heuer
>
> In XTM 1.0 there was nowhere said that one XTM file contains exactly
> one serialized topic map. With XTM 1.0 it is possible to put 1 .. n
> serialized topic maps into one XTM file.

That's true, although it does require that you use non-XTM elements  
as a wrapper around the xtm:topicMap element.

> 4.3 The topicMap element
>     """
>     The topicMap element type is the document element of all XTM  
> documents
>     [...]
>     """
>
> Does "the document element" mean that one and only one serialized
> topic map exist per XTM file?

Yes. "Document element" is XML-ese for "root element", and you can  
only have one of those, obviously.

> Maybe the XTM 2.0 should make it more explicit, that either more than
> one topic map may occur in one XTM document or that exactly one topic
> map occurrs in one XTM document (the latter is my preference :) ).

I would have thought that

   start = topicMap

is explicit enough?

--
Lars Marius Garshol, Ontopian               http://www.ontopia.net
+47 98 21 55 50                             http://www.garshol.priv.no




More information about the sc34wg3 mailing list