Closed lscorcia closed 3 years ago
Hi, while testing the CIE profile for metadata validation, I get the error Only one Municipality element MUST be present when both Technical and Administrative contacts are present and both have a Municipality element, i.e.:
Only one Municipality element MUST be present
Municipality
<md:ContactPerson contactType="administrative"> <md:Extensions> <cie:Public xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions"/> <cie:IPACode xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">codiceipa</cie:IPACode> <cie:IPACategory xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">C1</cie:IPACategory> <cie:VATNumber xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">12345678901</cie:VATNumber> <cie:FiscalCode xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">12345678901</cie:FiscalCode> <cie:NACE2Code xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">12.34.56</cie:NACE2Code> <cie:NACE2Code xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">65.43.21</cie:NACE2Code> <cie:Municipality xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">Rome</cie:Municipality> <cie:Province xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">H501</cie:Province> <cie:Country xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">IT</cie:Country> </md:Extensions> <md:Company>ente</md:Company> <md:EmailAddress>mail@gov.it</md:EmailAddress> </md:ContactPerson> <md:ContactPerson contactType="technical"> <md:Extensions> <cie:VATNumber xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">12345678901</cie:VATNumber> <cie:FiscalCode xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">12345678901</cie:FiscalCode> <cie:NACE2Code xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">01.02.03</cie:NACE2Code> <cie:NACE2Code xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">03.02.01</cie:NACE2Code> <cie:Municipality xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">Rome</cie:Municipality> <cie:Province xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">H501</cie:Province> <cie:Country xmlns:cie="https://www.cartaidentita.interno.gov.it/saml-extensions">IT</cie:Country> </md:Extensions> <md:Company>ente</md:Company> <md:EmailAddress>mail@gov.it</md:EmailAddress> </md:ContactPerson>
Hi, while testing the CIE profile for metadata validation, I get the error
Only one Municipality element MUST be present
when both Technical and Administrative contacts are present and both have aMunicipality
element, i.e.: