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

 


Help: OASIS Mailing Lists Help | MarkMail Help

xacml message

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


Subject: [xacml] Request/Other error


Simon's context-02d.xsd has Other being an unbounded sequence,
each element of which is an unbounded sequence of OtherAttribute
(AttributeType).  This is one sequence too many.

To be consistent with Subject, which is an unbounded sequence at
the top level, I propose the following change:

Now:
	<xs:complexType name="RequestType">
		<xs:sequence>
			<xs:element name="Subject" type="xacmlContext:SubjectType" maxOccurs="unbounded"/>
			<xs:element name="Resource" type="xacmlContext:ResourceType"/>
			<xs:element name="Action" type="xs:anyURI"/>
			<xs:element name="Other" type="xacmlContext:OtherType" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
  ....
	<xs:complexType name="OtherType">
		<xs:sequence>
			<xs:element name="OtherAttribute" type="xacmlContext:AttributeType" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>

Change to:
	<xs:complexType name="RequestType">
		<xs:sequence>
			<xs:element name="Subject" type="xacmlContext:SubjectType" maxOccurs="unbounded"/>
			<xs:element name="Resource" type="xacmlContext:ResourceType"/>
			<xs:element name="Action" type="xs:anyURI"/>
			<xs:element name="OtherAttribute" type="xacmlContext:AttributeType" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>

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