[sc34wg3] TMCL: Meta schema

Lars Heuer heuer at semagia.com
Wed Mar 25 09:36:08 EDT 2009


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>



More information about the sc34wg3 mailing list