[sc34wg3] TMCL: Meta schema

Graham Moore gra at networkedplanet.com
Wed Mar 25 09:43:43 EDT 2009


Hi,

Yes this has always been the plan and we are going to beef up the eval
semantics to say that constaints must be valid against TMCL schema
before being validated against a topic map.

cheers,

Gra

2009/3/25 Lars Heuer <heuer at semagia.com>:
> Hi all,
>
> Shouldn't the TMCL constraints be constrained by TMCL?
>
> It's possible to create a TMCL constraint like this:
>
>  constraint isa tmcl:subjectidentifier-constraint;
>    tmcl:card-min: 0;
>    tmcl:card-max: 1;
>    tmcl:card-max: 2;
>    tmcl:reg-exp: ".*".
>
> The result is unpredictable since it's unknown which tmcl:card-max
> is evaluated by the tmcl:validation-expression.
>
> Further it is possible assign an additional tmcl:validation-expression
> which contradicts the purpose of the TMCL standard vocabulary.
>
> To cut a long story short: I propose a (meta) TMCL schema that
> validates TMCL schemas; this should be an annex of the TMCL standard.
>
> Best regards,
> Lars
> --
> Semagia
> <http://www.semagia.com>
>
> _______________________________________________
> sc34wg3 mailing list
> sc34wg3 at isotopicmaps.org
> http://www.isotopicmaps.org/mailman/listinfo/sc34wg3
>



-- 
Graham Moore, Director, Networked Planet Limited
Editor XTM 1.0, ISO13250 (TopicMaps) -2,-3, TMCL
e: graham.moore at networkedplanet.com
w: www.networkedplanet.com
t: +44 1865 811131
m: +44 7769658611 (UK)
m: +47 45271713   (Norway)

Networked Planet Limited is registered in England and Wales, no. 5273377


More information about the sc34wg3 mailing list