W3C home > Mailing lists > Public > public-ws-policy@w3.org > May 2007

Collections: Sets, bags or something else?

From: David Hull <dmh@tibco.com>
Date: Tue, 01 May 2007 01:23:59 -0400
Message-ID: <4636CEEF.1080608@tibco.com>
To: public-ws-policy@w3.org
A follow-up to my previous:

The spec appears to carefully use "collection" and not "set".  This,
together with the absence of expression equivalence rules like /a+a=a/
and /a*a=a/ and the note that assertions of the same /type/ may occur in
an alternative, suggest that "collection" here means "unordered
collection with duplicates allowed", informally known as a "bag".

Is this the intended meaning?  It's not unheard of to use "collection"
to mean "set" (i.e., duplicates are not considered).  If the intended
meaning is to allow duplicates, is there any special meaning to the same
/alternative/ appearing more than once in a policy (as opposed to the
same /assertion/ (type?) appearing more than once in an alternative,
which behavior is out of scope).
Received on Tuesday, 1 May 2007 05:24:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:38:34 UTC