[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RoleDescriptorType in Metadata schema
In the Metadata schema, it is the RoleDescriptorType that is declared abstract rather than the RoleDescriptor element.
Consequently, XML Schema allows RoleDescriptor to occur in metadata instances in addition to other elements of a type derived from RoleDescriptorType,
So the following would be valid
<EntityDescriptor>
<RoleDescriptor>
</RoleDescriptor>
</EntityDescriptor>
as well as something like
<EntityDescriptor>
<new:NewRoleDescriptor xsi:type="NewTypeDerivedFromRoleDescriptorType">
</new:NewRoleDescriptor>
</EntityDescriptor>
Was it the intent to allow the first case? Was it to avoid a substitution group?
Paul
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]