Dmitry,
           I believe that Neethi is correct here because the specification
states that "wsp:Policy is equivalent to wsp:All." This is with respect to
its action upon its children but Policy does have other attributes such as
Id, Name and extensible attributes. However, once again I have to agree with
you ... AndComposite is not revealing or obvious, since it corresponds to an
All operator, so why not call it that?  I think that Neethi has made an
incorrect assumption that All behaves like an AND and ExactlyOne behaves
like an XOR; this is plainly incorrect ... I believe that Paul Nolan will be
raising a JIRA issue on this shortly.

Brian.
On 5/4/06, Dmitry Goldenberg <[EMAIL PROTECTED]> wrote:

Hello,

I have a question on the Neethi 1.0.1 API.

What exactly is the difference between Policy and AndCompositePolicy? The
javadoc for both says that they require that all of their terms are met.  I
assume the Neethi Policy corresponds to Policy in the WSP spec, and
AndCompositePolicy corresponds to Policy with the "All" alternative
type.  What exactly are the differences between the two?

Thanks,
- Dmitry


Reply via email to