Much better. +1
BTW, the problem wasn't stated quite right in my issue email. It isn't
that recursivity is unaddressed in the original text (it does say
characters -- plural). But that it did not talk about mininum/smallest
number. So per the original text, a runtime that adds 5 underscore
characters when 2 is the minimum needed was still conformant.
-Anish
--
Danny van der Rijn wrote:
> If you're going down to this level of detail, I think you need to be
> more explicit about what "recursive" and (where 1 <= i <= N) mean.
> Something like
>
> "If any "_originalName_i" (where N is the number of partnerLinks of name
> 'originalName', 1 <= i <= N) is already the name of a partner link
> declaration in the process definition, then the smallest number of
> additional underscore characters MAY MUST be added at the beginning of
> all aliases originalNames, consistently to avoid collision, to avoid a
> collision."
>
>
>
> Anish Karmarkar wrote:
>> Title: SBPEL2022 has an incorrect 'MAY' and is not applied recursively
>>
>> Target: SCA BPEL C&I PR 01
>>
>> Description:
>> SBPEL2022 states the following:
>> "If any "_orginalName_i" (where 1 <= i <= N) is already the name of a
>> partner link declaration in the process definition, additional
>> underscore characters MAY be added at the beginning of all aliases
>> consistently to avoid collision."
>>
>> 'MAY' here means that some runtimes may not choose to do this. We want
>> deterministic names that are independent of the runtime.
>>
>> It is also possible that after an additional underscore is added at
>> the beginning it still results in a conflict. SBPEL2022 needs to be
>> applied recursive till there is no collision.
>>
>> Proposal:
>>
>> Replace SBPEL2022 with --
>> "If any "_orginalName_i" (where 1 <= i <= N) is already the name of a
>> partner link declaration in the process definition, then an additional
>> underscore characters MAY MUST be added at the beginning of all
>> aliases names, recursively, consistently to avoid collision, until a
>> collision is avoided."
>>
>> (alternately, we can say something along the lines of "... additional
>> minimum number of underscore characters that results in no collision
>> MUST be added at the beginning of all names consistently."
>>
>> -Anish
>> --
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this mail list, you must leave the OASIS TC that
>> generates this mail. Follow this link to all your TCs in OASIS at:
>> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php