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] Public review comments for xacml-json-http-v1.0-csprd03: 5.2.5 The StatusCode object representation


Hi Glenn,

I think you are wrong. I took the wording verbatim from the core XACML spec which says that StatusCode does contain a sequence of StatusCode.

Am I missing the point?

Cheers,
David.


5.55 Element <StatusCode>

The <StatusCode> element contains a major status code value and an optional sequence of minor status codes.

<xs:element name="StatusCode" type="xacml:StatusCodeType"/>

<xs:complexType name="StatusCodeType">

   <xs:sequence>

          <xs:element ref="xacml:StatusCode" minOccurs="0"/>

   </xs:sequence>

   <xs:attribute name="Value" type="xs:anyURI" use="required"/>

</xs:complexType>

The <StatusCode> element is of StatusCodeType complex type.

The <StatusCode> element contains the following attributes and elements:

Value [Required]

See Section B.8 for a list of values.

<StatusCode> [Any Number]

Minor status code.  This status code qualifies its parent status code.     


On Thu, Jun 12, 2014 at 6:14 PM, GRIFFIN, GLENN (GLENN) <glenngriffin@research.att.com> wrote:

IMPORTANT NOTE: Please make sure that you are subscribed to the xacml-comment@lists.oasis-open.org mailing list before submitting feedback with this form. For instructions on subscribing see https://www.oasis-open.org/committees/comments/index.php?wg_abbrev=xacml.

Comment type [editorial | technical] ? editorial

Impact [major | minor] ? minor

The statement that

            “.. the StatusCode object may contain a sequence of StatusCode objects..”

is confusing because a StatusCode may contain only one child StatusCode.  This may be a correct statement in an XML definition, but in general use the term “sequence” means a series, list, or array of multiple objects, so can be read as saying that the StatusCode can contain an array of StatusCodes.

It would be better to change this text to read

            “.. the StatusCode object may contain a StatusCode object..”

 




--
David Brossard, M.Eng, SCEA, CSTP
VP of Customer Relations
+46(0)760 25 85 75
Axiomatics AB
Skeppsbron 40
S-111 30 Stockholm, Sweden
Support: https://support.axiomatics.com 
Web: http://www.axiomatics.com
Axiomatics for developers: http://developers.axiomatics.com
Connect with us on LinkedIn | Twitter | Google + | Facebook | YouTube


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