<div dir="ltr"><div>We are helping one of our units migrate from IdP v2 to v3.</div><div><br></div><div>Trying to simplify the attribute-reolver.xml when addind new; but still keeping the old.</div><div><br></div><div>When adding the new world -- the following exception was received -- did we miss something in the schema path (listed at email's tail-end).<br></div><div><br></div><div><br></div><div><AttributeDefinition xsi:type="ad:Simple" id="mobileNumber" sourceAttributeID="giveName"><br>            <Dependency ref="givenName" /><br>            <AttributeEncoder xsi:type="SAML2String" name="urn:oid:2.16.840.1.113730.3.1.241" friendlyName="displayName" encodeType="false" /><br>        </AttributeDefinition></div><div><br></div><div>LOG extract:<br></div><div><br></div><div>net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 38 in XML document from net.shibboleth.ext.spring.resource.FileBackedHTTPResource@55b99e42 is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 38; columnNumber: 96; cvc-complex-type.2.4.a: Invalid content was found starting with element 'AttributeDefinition'. One of '{"urn:mace:shibboleth:2.0:resolver":AttributeDefinition, "urn:mace:shibboleth:2.0:resolver":DataConnector, "urn:mace:shibboleth:2.0:resolver":PrincipalConnector}' is expected.<br>    at net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:336)<br>Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 38 in XML document from net.shibboleth.ext.spring.resource.FileBackedHTTPResource@55b99e42 is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 38; columnNumber: 96; cvc-complex-type.2.4.a: Invalid content was found starting with element 'AttributeDefinition'. One of '{"urn:mace:shibboleth:2.0:resolver":AttributeDefinition, "urn:mace:shibboleth:2.0:resolver":DataConnector, "urn:mace:shibboleth:2.0:resolver":PrincipalConnector}' is expected.<br>    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:399)<br>Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'AttributeDefinition'. One of '{"urn:mace:shibboleth:2.0:resolver":AttributeDefinition, "urn:mace:shibboleth:2.0:resolver":DataConnector, "urn:mace:shibboleth:2.0:resolver":PrincipalConnector}' is expected.</div><div><br></div><div><br></div><div>Schema path:<br></div><div><br></div><div><resolver:AttributeResolver xmlns:resolver="urn:mace:shibboleth:2.0:resolver" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"<br>                            xmlns:pc="urn:mace:shibboleth:2.0:resolver:pc" xmlns:ad="urn:mace:shibboleth:2.0:resolver:ad"<br>                            xmlns:dc="urn:mace:shibboleth:2.0:resolver:dc" xmlns:enc="urn:mace:shibboleth:2.0:attribute:encoder"<br>                            xmlns:sec="urn:mace:shibboleth:2.0:security"<br>                            xsi:schemaLocation="urn:mace:shibboleth:2.0:resolver classpath:/schema/shibboleth-2.0-attribute-resolver.xsd<br>                                               urn:mace:shibboleth:2.0:resolver:pc classpath:/schema/shibboleth-2.0-attribute-resolver-pc.xsd<br>                                               urn:mace:shibboleth:2.0:resolver:ad classpath:/schema/shibboleth-2.0-attribute-resolver-ad.xsd<br>                                               urn:mace:shibboleth:2.0:resolver:dc classpath:/schema/shibboleth-2.0-attribute-resolver-dc.xsd<br>                                               urn:mace:shibboleth:2.0:attribute:encoder classpath:/schema/shibboleth-2.0-attribute-encoder.xsd<br>                                               urn:mace:shibboleth:2.0:security classpath:/schema/shibboleth-2.0-security.xsd"><br></div></div>