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] | [List Home]


Subject: Re: [xacml-comment] XACML 2.0: Small error in dayTimeDuration


Florian, All,

XACML 2.0 refers to a working draft of XPath 2.0, which defines the 
dayTimeDuration data type:

http://www.w3.org/TR/2002/WD-xquery-operators-20020816/#dt-dayTimeDuration

This specification contains the regular expression you have identified 
an error in.

The original XACML specification just references the above W3C wroking 
draft. It does not itself contain the regular expression.

When XACML 2.0 was submitted to ITU-T for standardization, the ITU-T did 
not like that XACML references a working draft of another standard, so 
the text, including the regular expression, was copied into the XACML 
specification. This modified text, and other corrections, became the 2.0 
errata.

BTW, I just checked the 2.0 errata, and I noticed that the 2.0 errata 
has renamed the dayTimeDuration data type. It is called 
urn:oasis:names:tc:xacml:2.0:data-type:dayTimeDuration in the errata, 
but it is 
http://www.w3.org/TR/2002/WD-xquery-operators-20020816#dayTimeDuration 
in the original 2.0 specification. I don't think OASIS allows for this 
kind of renaming in an errata. I haven't checked so I don't know if the 
renaming was done for the ITU-T submission, or if it has been made after 
that. I think they were part of the ITU-T submission since I have 
already corrected this once:

http://lists.oasis-open.org/archives/xacml/200806/msg00011.html

I don't know why this edit has been lost.

XACML 3.0 uses the identifier 
http://www.w3.org/2001/XMLSchema#dayTimeDuration. The datatype is 
defined in the final version of the XPath 2.0 spec, here:

http://www.w3.org/TR/xpath-functions/#dt-dayTimeDuration

The following email has references to where the identifier itself is 
defined (the identifier is implied by a general rule for data type 
identifiers in XML schema):

http://lists.oasis-open.org/archives/xacml/200806/msg00011.html

The datatype is also being brought into XML Schema 1.1:

http://www.w3.org/TR/xmlschema11-2/#dayTimeDuration

But that is not yet an adopted W3C recommendation.

There is a new regular expression here:
http://www.w3.org/TR/xmlschema11-2/#nt-duDTFrag

Our motivation for moving to these new identifiers was that XPath 2.0 
became a W3C recommendation. I don't know whether it is an issue that 
XML schema 1.1 is also going to define the same data type/identifier.

So, since XACML 3.0 refers to W3C for the definition of this data type, 
we don't need to worry about the regexp in our specification. We could 
consider clarifying whether we reference XPath 2.0 or XML schema 1.1.

Best regards,
Erik


Florian Huonder wrote:
> What I saw is that in XACML 3.0 the XMLSchema datatype of
> http://www.w3.org/2001/XMLSchema#dayTimeDuration is used.
> What I meant with "it is not relevant" is that here the definition is not up
> to the XACML TC.
>
> Regards
> Florian
>
> -----Original Message-----
> From: Ludwig Seitz [mailto:ludwig@axiomatics.com] 
> Sent: Mittwoch, 30. September 2009 08:51
> To: Florian Huonder
> Cc: 'Bill Parducci'; xacml-comment@lists.oasis-open.org
> Subject: Re: [xacml-comment] XACML 2.0: Small error in dayTimeDuration
>
> Florian Huonder wrote:
>   
>> Hi, 
>> Thanks.
>>
>> How is the proceeding now? Is that still relevant for an, maybe planned,
>> errata of XACML 2.0?
>> I am asking because I saw that this datatype was replaced in XACML 3.0.
>>
>>     
>
> I am quite sure it is relevant for 3.0 too, since the datatype was only 
> replaced because it had an old identifier. The new dayTimeDuration 
> attribute has probably exactly the same definition, except for the id.
>
> Kudos for noticing this!
>
> /Ludwig
>
>
>   



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