Re: using TMCL-constraints

Robert Cerny <[email protected]> Wed, 18 May 2011 10:32:23 +0200
Newsgroups gmane.text.xml.xtm.general
Message-ID <[email protected]>
Hi Lukas,

Lukas wrote:

> I looked at the TMCL template and found another thing that I am surprised about:
> Every constraint is a tmdm:subtype of tmcl:constraint, e.g.
> "tmcl:subject-identifier-constraint ako tmcl:constraint;
>  isa tmcl:topic-type; ..."
> 
> But why is every constraint-topic also an explicit instance of tmcl:topic-type - I think this is made implicitly by declaring tmcl:constraint to be a tmcl:topic-type and declaring all further constraints to be a tmdm:subtype of the tmcl:constraint topic?

There has been a discussion on this on the sc34wg3 mailing list. It started with this message:
http://www.petesbox.net/pipermail/sc34wg3/2010-January/004419.html

As a result the isa-statements were included in the TMCL metaschema.

I hope this helps!

Kind regards,

Robert