[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [xacml-users] About dayTimeDuration in sun.xacml
I am using java 1.4.2, and use sun-xacml SimplePDP to evaluate the request I created.In my policy file, I insert the following condition in a <Rule>. The condition says"the-next-meeting-time<=(current-dateTime + 1Hour dayTimeDuration)", which means the next meeting would be held in one hour. Is there some problem? I forward the question to sunxacml-discuss too. <Condition FunctionId="urn:oasis:names:tc:xacml:1.0:function:dateTime-less-than-or-equal"> <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:dateTime-one-and-only"> <EnvironmentAttributeDesignator AttributeId="next-meeting-time" DataType="http://www.w3.org/2001/XMLSchema#dateTime"/> </Apply> <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:dateTime-add-dayTimeDuration"> <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:dateTime-one-and-only"> <EnvironmentAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:environment:current-dateTime" DataType="http://www.w3.org/2001/XMLSchema#dateTime"/> </Apply> <AttributeValue DataType="http://www.w3.org/TR/2002/WD-xquery-operators-20020816#dayTimeDuration"> PT1H </AttributeValue> </Apply> </Condition> >From: Seth Proctor <Seth.Proctor@sun.com> >To: Jing Yixin <jingyx@hotmail.com> >CC: xacml-users@lists.oasis-open.org, xacml-dev@lists.oasis-open.org >Subject: Re: [xacml-users] About dayTimeDuration in sun.xacml >Date: Wed, 26 Oct 2005 09:10:02 -0400 > > >On Oct 26, 2005, at 8:53 AM, Jing Yixin wrote: >>Did some one encounter the problem like this? I wanted to use >>dayTimeDuration datatype in <AttributeValue>, however the exception >> occured when evaluating.And I tried yearMonthDuration, it didn't >>work properly too. >> >>com.sun.xacml.ParsingException: couldn't create http://www.w3.org/ >>TR/2002/WD-xqu >>ery-operators-20020816#dayTimeDuration attribute based on DOM node > >Are you using Java 1.5? If so, I think there is a known problem with > how date/time was changed from 1.4. Please see the >sunxacml-discuss archive for details, and work-arounds. Also, could >you post an example of your duration? THanks. > > >seth > > >ps Please followup to the sunxacml-discuss list, since these OASIS >lists are meant for more general discussion of XACML.. > >--------------------------------------------------------------------- >This publicly archived list supports open discussion on using the >XACML OASIS Standard. To minimize spam in the archives, you must >subscribe before posting. > >[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ >Alternately, using email: list-[un]subscribe@lists.oasis-open.org >List archives: http://lists.oasis-open.org/archives/xacml-users/ >Committee homepage: http://www.oasis-open.org/committees/xacml/ >List Guidelines: http://www.oasis-open.org/maillists/guidelines.php >Join OASIS: http://www.oasis-open.org/join/ > _________________________________________________________________ 享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]