[sc34wg3] CTM: prefixes and include

Lars Heuer heuer at semagia.com
Tue Jul 1 10:45:14 EDT 2008

Hi Robert,

> From my Oslo notes I have here that
>  "prefixes inside %include -d files have only there an effect"
> cannot find this in
>   http://www.isotopicmaps.org/ctm/ctm.html#dir-include
> but maybe my note is just wrong.

Your note is correct. The "included" file is invisible for the file
which imports it. If file A includes file B, only the templates from
file B are are visible for file B, the rest (%prefixes etc.) is

> And, btw, there is also the issue what happens with
>   ?xxx
> topics inside %include-d files. I would guess that they also have only
> local scope, but who knows....

Good question, this might be underspecified in the current version. :(
?xxx in file A should merge with ?xxx in file B, but I am afraid that
they do not merge currently. yyy in file A merges with yyy in file B,
that should work, but I am not sure if it works with named wildcards.

I'll check that.

Best regards,

More information about the sc34wg3 mailing list