EntityRoleWhiteList metadata filter

Rod Widdowson rdw at steadingsoftware.com
Mon Jun 25 08:48:11 EDT 2018


> That would seem to imply that no entities are retained. Is that the
> correct interpretation?

AFAICS in the code yes.  That would be logical.  
 
> Suppose the filter required at least one <RetainedRole> child element
> instead. Not only is that more clear but in that case attribute
> removeRolelessEntityDescriptors becomes unnecessary since entities
> with no roles would positively not be retained.

I seem to remember (going back maybe 5 or 10 years) that there is religion involved with "one or more" as opposed to "zero or more"
in XML (to do with the specifications, xslt processing and some such).  

Possibly that it’s a bear to have to enforce "one or more" when auto generating XML.

I'm hoping that Ian or Scott will remember the precise details

Rod



More information about the dev mailing list