[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: JSON Profile WD-14 Issues
I noticed some problems in working draft 14 of the JSON profile.
Section 5.2.2 mentions "Attributes" as one of the objects in a Result
object (which you have now called Category") and section 5.2.9 uses
"object" to refer to both the XML element and its corresponding JSON
representation. You should refer to the <Attributes> *element* and
the Category *object*.
Section 5.2.4 says "the StatusCode object may contain a sequence of
StatusCode objects". The XACML core says something similar, but the
associated XML Schema allows at most one child StatusCode element.
I've added an item on this to the wiki errata page. Assuming the XML
Schema is correct, a StatusCode object contains an optional
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.
Section 5.2.6 refers to the Advice object, but it should be referring
to the ObligationOrAdvice object.