[sc34wg3] Explanation in TMCL?

Robert Cerny robert at cerny-online.com
Tue Jan 26 09:11:45 EST 2010


Hello,

As already stated i am using TMCL for form generation. In this use  
case it is necessary to explain to the user why his input is invalid  
and what he should do to make it valid. I was wondering if it  
tmcl:description is appropriate for this message or whether something  
like this is necessary:

tmcl:explanation isa tmcl:occurrence-type;
   has-datatype(xsd:string).

tmcl:constraint
   has-occurrence(tmcl:explanation, 0, *).

This might also make sense in a validation use case in order to make  
messages in the validation report more descriptive.

Any thoughts on this?

Best,

Robert Cerny

Software Development
http://www.cerny-online.com





More information about the sc34wg3 mailing list