This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4552 - Should the word "collection" be changed to something more specific?
Summary: Should the word "collection" be changed to something more specific?
Status: RESOLVED FIXED
Alias: None
Product: WS-Policy
Classification: Unclassified
Component: Framework (show other bugs)
Version: CR
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Felix Sasaki
QA Contact: Web Services Policy WG QA List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-10 20:09 UTC by Ashok Malhotra
Modified: 2007-05-24 02:46 UTC (History)
1 user (show)

See Also:


Attachments

Description Ashok Malhotra 2007-05-10 20:09:54 UTC
David Hull started this conversation by noting that where the Framework spec uses the word "collection", it really means "bag" as there is no order and duplicates are allowed.  See http://lists.w3.org/Archives/Public/public-ws-policy/2007May/0001.html

I replied, supporting this suggestion and noting that 'collection' is used in 3 contexts in the Framework spec:  a policy is a collection of alternatives, am alternative is a collection of assertions and a policy scope is a collection of policy subjects. http://lists.w3.org/Archives/Public/public-ws-policy/2007May/0042.html

Fabian responded saying that implementations could do what they wanted; specifically they could eliminate duplicates http://lists.w3.org/Archives/Public/public-ws-policy/2007May/0045.html

Asir responded that the word 'bag' was too technical and suggested that we add the sentence "The items in a collection in this specification are unordered and may contain duplicates."  See http://lists.w3.org/Archives/Public/public-ws-policy/2007May/0062.html
Comment 1 David Hull 2007-05-11 15:13:44 UTC
My understanding from the list discussion is that policies are *sets* of alternatives, not bags, in that it does not matter how many times an alternative appears, so long as it appears.

If so, then the blanket statement that "collection" means "unordered collection with multiple occurrences allowed" is inappropriate.  If policies are allowed to contain the same alternative multiple times, then someone has to say what the differences is between, e.g., an alternative occurring once and the same alternative occurring twice.

Conversely, if there is no difference, then say so explicitly.  That is, instead of saying "A policy is a collection (unordered, multiples allowed) of alternatives where multiplicity doesn't matter", say directly that "A policy is a set of alternatives".
Comment 2 Asir V Selvasingh 2007-05-24 02:44:49 UTC
<cferris> RESOLUTION: issue 4552 closed with text in http://lists.w3.org/Archives/Public/public-ws-policy/2007May/0062.html placed in Terminology section and referenced (linked) from uses of the term as deemed appropriate by editors

Comment 3 Asir V Selvasingh 2007-05-24 02:46:11 UTC
Reference - http://www.w3.org/2007/05/23-ws-policy-minutes.html#item08