← Prev in month ← Prev in thread

RoleDescriptorType in Metadata schema

From
Paul Madsen <>
Date
2004-10-06T19:43:15+00:00
ID
Thread
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

-----------------------------------------------------------------

Paul 
Madsen

e:  

p:  613-270-2632

c:  613-799-2632

Entrust
← Prev in month ← Prev in thread