Here you're searching for a ContactPerson having the contactType attribute equal to aggregator.
The right query, however, is: search for a ContactPerson having the contactType attribute equal to other and the entityType attribute equal to spid:aggregator.
The same stands for the following query (regarding the aggregated entity).
After all, the comments on the previous lines say it correctly.
When validating metadata in spid-sp-ag-public-full profile mode, validation of
ContactPerson
elements is wrong.See: https://github.com/italia/spid-sp-test/blob/10917dd825856e838944b0395972b2ff37cac345/src/spid_sp_test/metadata.py#L746
Here you're searching for a
ContactPerson
having thecontactType
attribute equal toaggregator
. The right query, however, is: search for aContactPerson
having thecontactType
attribute equal toother
and theentityType
attribute equal tospid:aggregator
. The same stands for the following query (regarding the aggregated entity). After all, the comments on the previous lines say it correctly.The same problem applies to the other aggregator profiles: https://github.com/italia/spid-sp-test/blob/10917dd825856e838944b0395972b2ff37cac345/src/spid_sp_test/metadata.py#L770 https://github.com/italia/spid-sp-test/blob/10917dd825856e838944b0395972b2ff37cac345/src/spid_sp_test/metadata.py#L792 https://github.com/italia/spid-sp-test/blob/10917dd825856e838944b0395972b2ff37cac345/src/spid_sp_test/metadata.py#L811