Re: AOM C_STRING - single regex, or a list of strings?

2016-04-07 Thread Bert Verhees
On 07-04-16 21:33, Thomas Beale wrote: Don't worry, I am thinking more in terms of weeks not years. But we do have a spec that does what is needed, the debate is whether there is a clearer way, and whether it is worth changing it. But - to make a (possibly) breaking change, we need more than

Re: AOM C_STRING - single regex, or a list of strings?

2016-04-07 Thread Thomas Beale
Don't worry, I am thinking more in terms of weeks not years. But we do have a spec that does what is needed, the debate is whether there is a clearer way, and whether it is worth changing it. But - to make a (possibly) breaking change, we need more than a couple of days to reflect ... -

Re: AOM C_STRING - single regex, or a list of strings?

2016-04-07 Thread Bert Verhees
On 07-04-16 17:44, Thomas Beale wrote: well, we need to get this right for everyone. The current spec works, but you are suggesting that it be changed to make it 'regex-only'; Diego I think is suggesting something else; but if we were going to change it, we need to get input from openEHR

Re: AOM C_STRING - single regex, or a list of strings?

2016-04-07 Thread Thomas Beale
well, we need to get this right for everyone. The current spec works, but you are suggesting that it be changed to make it 'regex-only'; Diego I think is suggesting something else; but if we were going to change it, we need to get input from openEHR tool implementers, 13606 group, AML

Re: AOM C_STRING - single regex, or a list of strings?

2016-04-07 Thread Thomas Beale
On 07/04/2016 13:01, Bert Verhees wrote: On 07-04-16 13:55, Thomas Beale wrote: OK, but there is only one data structure : constraint: List No, that is not necessary, the structure is redefined from

Re: AOM C_STRING - single regex, or a list of strings?

2016-04-07 Thread Bert Verhees
Do we have an agreement on this, like proposed? If so, then I can propose the change of grammar according this agreement, which is not very much, and then the case can be closed. Please let me know, so that I can proceed thanks Bert On 07-04-16 14:01, Bert Verhees wrote: On 07-04-16

Re: AOM C_STRING - single regex, or a list of strings?

2016-04-07 Thread Bert Verhees
On 07-04-16 13:55, Thomas Beale wrote: OK, but there is only one data structure : constraint: List No, that is not necessary, the structure is redefined from CPrimitive, so it can be of type Object, which can

Re: AOM C_STRING - single regex, or a list of strings?

2016-04-07 Thread Diego Boscá
It was already like that in the original AOM (pattern & list) 2016-04-07 13:55 GMT+02:00 Thomas Beale : > > OK, but there is only one data structure: > > constraint: List > > Are you saying you want another, separate string field? > > On 07/04/2016 11:05, Bert Verhees

Re: AOM C_STRING - single regex, or a list of strings?

2016-04-07 Thread Thomas Beale
OK, but there is only one data structure : constraint: List Are you saying you want another, separate string field? On 07/04/2016 11:05, Bert Verhees wrote: On 07-04-16 11:16, Diego Boscá wrote: I don't see the

Re: AOM C_STRING - single regex, or a list of strings?

2016-04-07 Thread Diego Boscá
Completely agree with your proposal, Bert 2016-04-07 12:05 GMT+02:00 Bert Verhees : > On 07-04-16 11:16, Diego Boscá wrote: >> >> I don't see the problem of having just a list of strings and a regex >> for C_String. > > That is also my position, I don't know if it was clear,

Re: AOM C_STRING - single regex, or a list of strings?

2016-04-07 Thread Bert Verhees
On 07-04-16 11:16, Diego Boscá wrote: I don't see the problem of having just a list of strings and a regex for C_String. That is also my position, I don't know if it was clear, because, when I explain too much, sometimes the message becomes unclear ;-) So resuming: There will, in my

Re: AOM C_STRING - single regex, or a list of strings?

2016-04-07 Thread Diego Boscá
IMHO even if regexes are powerful enough using them for representing lists or literals is an overkill (precisely by the reason you gave, having to control and escape all characters would make adl code more less readable (think that a series of specialized atx.x.x codes would always need to be

AOM C_STRING - single regex, or a list of strings?

2016-04-07 Thread Thomas Beale
This is a question we have wrestled with in defining the AOM String constrainer type C_STRING . Bert has brought it up with some useful analysis in this issue. I would be interested in other opinions on this question