OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xacml message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [xacml] Make "*-on-and-only" an AttributeDescription option


How would "one and only" interact with "must be present"
Seems partially redundant..

-----Original Message-----
From: Anne.Anderson@Sun.COM [mailto:Anne.Anderson@Sun.COM] 
Sent: Thursday, June 17, 2004 5:54 PM
To: Polar Humenn; XACML TC
Subject: Re: [xacml] Make "*-on-and-only" an AttributeDescription option

Sorry, yes, I meant AttributeDesignator.  -Anne

>
>What is an AttributeDescriptor?
>
>Do you mean AttributeDesignator or have I missed something?
>
>-Polar
>
>On Thu, 17 Jun 2004, Anne Anderson wrote:
>
>> I would like to propose that we add an optional "OneAndOnly" XML
>> attribute to the <AttributeDescriptor> element.  If this
>> attribute is "true", it causes the <AttributeDescriptor> to
>> evaluate to a single element of its DataType, rather than a bag
>> of such elements.  If this XML attribute is used, and the
>> <AttributeDescriptor> matches no element or more than one
>> element, then the evaluation result will be "Indeterminate".  The
>> default value of the OneAndOnly Attribute is "false".
>>
>> The intent is that
>>
>>   <SomeAttributeDescriptor AttributeId="x" DataType="y"
OneAndOnly="true"/>
>>
>> be exactly equivalent to
>>
>>   <Apply FunctionId="y-one-and-only">
>>      <SomeAttributeDescriptor AttributeId="x" DataType="y""/>
>>   </Apply>
>>
>> Rationale:
>>
>>   All our standard functions except for the specific bag
>>   functions expect a single value, so the case for expecting and
>>   wanting a single attribute is extremely common.  It is awkward,
>>   verbose, and probably confusing to wrap all instances of
>>   <AttributeDescriptor> with an <Apply> of a "*-one-and-only"
>>   function.
>>
>> Anne
>> --
>> Anne H. Anderson             Email: Anne.Anderson@Sun.COM
>> Sun Microsystems Laboratories
>> 1 Network Drive,UBUR02-311     Tel: 781/442-0928
>> Burlington, MA 01803-0902 USA  Fax: 781/442-1692
>>
>>
>> To unsubscribe from this mailing list (and be removed from the roster
of the
>OASIS TC), go to
>http://www.oasis-open.org/apps/org/workgroup/xacml/members/leave_workgr
oup.php.
>>
>
>To unsubscribe from this mailing list (and be removed from the roster
of the
>OASIS TC), go to
>http://www.oasis-open.org/apps/org/workgroup/xacml/members/leave_workgr
oup.php.
>



To unsubscribe from this mailing list (and be removed from the roster of
the OASIS TC), go to
http://www.oasis-open.org/apps/org/workgroup/xacml/members/leave_workgro
up.php.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]