[sc34wg3] CTM - Include directive

Robert Barta rho at devc.at
Tue Jan 29 04:16:17 EST 2008


On Mon, Jan 28, 2008 at 03:49:27PM +0100, Lars Heuer wrote:
> Let's create a topic map C, IRI: <http://www.example.org/C>
> %include <http://www.example.org/A>
> %include <http://www.example.org/B>

> You see, the interpretation of topic map "A" has changed. If I merge
> topic map A and C, I get *3* topics, not only 2, since the
> interpretation of the identifier "foo" has changed.

The perfect trap.

> Let's create another topic map D, IRI: <http://www.example.org/D>
> %include <http://www.example.org/B>
> %include <http://www.example.org/A>

> Wow! :) The interpretation of topic map A has changed again! Since
> topic map B has defined a default prefix, the identifier "foo" is
> interpreted as subject identifier.

Chaboom!

> Is that intentional? So many interpretations for one and the same
> topic map?

Well, on the positive side one could use it for exams where one wants
all students to fail.

\rho



More information about the sc34wg3 mailing list