Re: TMCL constraints and supertype-subtype relationships

Lars Heuer <[email protected]>
Newsgroups gmane.text.xml.xtm.general
Organization Semagia
Message-ID <[email protected]>
Hi Graham,

> Yes.

Good :)

Next one:

     tag-name isa tmcl:name-type;
         matches-regexp("[A-Z]+[0-9]+").

     geo-tag-name ako tag-name;
         matches-regexp("[a-z]{2}").

Acc. to my understanding of the meta TMCL schema it is not forbidden
to have multiple "matches-regexp" rules. So, which RegExp is executed
during validation of "geo-tag-name" instances? Both?

Best regards,
Lars
-- 
Semagia 
<http://www.semagia.com>

<https://twitter.com/larsheuer/> Twitter
<http://www.topicmaps.de/mailinglist/> German Topic Maps mailing list
<http://tinytim.sourceforge.net/> Open Source Topic Maps engine
<http://mappa.semagia.com/> Mappa - Python Topic Maps engine
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.