[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: CD-1 issue #50: redundant occurrence indicators in schema
The issue number refers to the XLS-sheet found in this email: http://lists.oasis-open.org/archives/xacml/200909/msg00013.html The commenter points out that the following schema fragment has redundant occurrence indicators: <xs:complexType name="RequestType"> <xs:sequence minOccurs="0" maxOccurs="unbounded"> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <xs:element ref="xacml:RequestDefaults" minOccurs="0"/> <xs:element ref="xacml:Attributes" maxOccurs="unbounded"/> <xs:element ref="xacml:MultiRequests" minOccurs="0"/> </xs:sequence> <xs:attribute name="ReturnPolicyIdList" type="xs:boolean" use="required"/> </xs:complexType> The allows for instance multiple <RequestDefaults> elements, which is not intended I think. I propose that we remove the redundant occurrence indicators and make the fragment like this: <xs:complexType name="RequestType"> <xs:sequence> <xs:element ref="xacml:RequestDefaults" minOccurs="0"/> <xs:element ref="xacml:Attributes" maxOccurs="unbounded"/> <xs:element ref="xacml:MultiRequests" minOccurs="0"/> </xs:sequence> <xs:attribute name="ReturnPolicyIdList" type="xs:boolean" use="required"/> </xs:complexType> Best regards, Erik
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]