[sc34wg3] TMCL / CTM issue: ctm-integer

Robert Cerny robert at cerny-online.com
Mon Dec 21 09:29:00 EST 2009

On Dec 21, 2009, at 1:41 PM, Lars Heuer wrote:

> CTM should define a special datatype "ctm-integer" to satisfy TMCL's
> need to specify an unconstraint upper limit:
>      topic has-occurrence(tmcl:comment, 0, *).

Having started to implement TMCL with regards to schema-driven-form  
generation in Topincs, i was surprised by the new datatype. Then  
again it makes sense if you want to specify an unlimited upper  
boundary and none of the xml schema datatypes is helping out. Would  
it be an option to simply handle it the following way and thus  
eliminate the need for a special datatype:

1) No statement about the upper limit defaults to upper limit =  
2) No statement about the lower limit defaults to lower limit = 0.

This would be in a similar spirit as interpreting the empty scope as  
unconstrained and not requiring a special topic "Unconstrained" for  
that very purpose.


Robert Cerny

Software Development

More information about the sc34wg3 mailing list