Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
ws-policy defines two elements called All and ExactlyOne. These have been modelled in Neethi with two objects called AndCompositeAssertion and XorCompositeAssertion. These object names would perhaps be more accurate if they were named in alignment with the specification. The XorCompositeAssertion also gives the misleading impression that it behaves like an exclusive OR which is only true when it has two child elements.In the case with more than two child elements ExactlyOne behaves quite differently from exclusive OR.
I would like to propose we change these object names. They can either be "All" and "ExactlyOne" or "AllOperator" and "ExactlyOneOperator" or "AllCompositeAssertion" and "ExactlyOneCompositeAssertion". How should we proceed?