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

 


Help: OASIS Mailing Lists Help | MarkMail Help

xacml-comment message

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


Subject: Re: [xacml-comment] IIC150, IIC154


John Merrells,

I will be publishing the responses to comments discussed at the
XACML TC meeting yesterday (21 November 2002) later today, but
these two functions were added in response to the following
comment:

0028. http://lists.oasis-open.org/archives/xacml-comment/200211/msg00050.html
Subject: equality & set/bag functions
From: Seth Proctor <seth.proctor@sun.com>
Date: Tue, 19 Nov 2002 17:34:32 -0500

The set and bag functions (along with others), are defined as
type-[name] where this is expanded to include one function for
each standard type.  Presumably this includes the two duration
attribute types. One of the bag functions and several of the set
functions also specify that their definitions are based on using
the type-equal function for the coresponding type. The equality
functions, however, are defined individually for each type, and
no equal functions are defined for the two duration types.

So, the question: should there be equality functions defined for
the two duration types, or should certain type-[name] functions
not be able to handle the two duration types? It seems like one
of those two must change to make this work.

CATEGORY: Incomplete.
STATUS: Resolved 11/21/02.
RESPONSE: Approved.  Add dayTimeDuration-equal and
yearMonthDuration-equal functions.  Use XQuery semantics.
ACTIONS: Add following text at end of Section A.14.1, following
line 3639 (in the PDF version):

o dayTimeDuration-equal

   This function SHALL take two arguments of type
   "http://www.w3.org/TR/xquery-operators#dayTimeDuration"; and
   SHALL return an "http://www.w3.org/2001/XMLSchema#boolean";.
   This function shall perform its evaluation according to the
   "op:dayTimeDuration-equal" function [XQO Section 8.3.5].  Note
   that the lexical representation of each argument is converted
   to a value expressed in fractional seconds [XQO Section
   8.2.2].

o yearMonthDuration-equal

   This function SHALL take two arguments of type
   "http://www.w3.org/TR/xquery-operators#yearMonthDuration"; and
   SHALL return an "http://www.w3.org/2001/XMLSchema#boolean";.
   This function shall perform its evaluation according to the
   "op:yearMonthDuration-equal" function [XQO Section 8.3.2].
   Note that the lexical representation of each argument is
   converted to a value expressed in integer months [XQO Section
   8.2.1].

Anne Anderson

On 21 November, John Merrells writes: [xacml-comment] IIC150, IIC154
 > From: John Merrells <merrells@jiffysoftware.com>
 > To: xacml-comment <xacml-comment@lists.oasis-open.org>
 > Subject: [xacml-comment] IIC150, IIC154
 > Date: Thu, 21 Nov 2002 19:11:26 -0800
 > 
 > 
 > The spec doesn't specify dayTimeDuration-equal and yearMonthDuration-equal,
 > but these tests test for it...?
 > 
 > John
 > 
 > 
 > ----------------------------------------------------------------
 > To subscribe or unsubscribe from this elist use the subscription
 > manager: <http://lists.oasis-open.org/ob/adm.pl>
 > 

-- 
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



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


Powered by eList eXpress LLC