[sc34wg3] Fwd: Re: CTM: prefixes and include

Lars Heuer heuer at semagia.com
Tue Jul 1 12:34:54 EDT 2008

This is a forwarded message

From: Robert Barta <rho at devc.at>
To: Lars Heuer <heuer at semagia.com>
Date: Tuesday, July 1, 2008 5:00:03 PM
Subject: [sc34wg3] CTM: prefixes and include

===8<==============Original message text===============

On Tue, Jul 01, 2008 at 04:29:39PM +0200, Lars Heuer wrote:
> > 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
> invisible.

Is this somewhere addressed in the current draft?

> > 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 somehow had the intuitive feeling that ?xxx in A and B should be NOT
merged. The named wildcard thing should be kept as local as possible,


===8<===========End of original message text===========

More information about the sc34wg3 mailing list