<div dir="ltr">Hi All,<div><br></div><div>I'm trying to add a custom attribute to my role objects and I wanted to be a a reference to another object. I tried using the ObjectReferenceType like this</div><div><br></div><div><div><font size="1"><i><?xml version="1.0" encoding="UTF-8" standalone="yes"?></i></font></div><div><font size="1"><i><xsd:schema elementFormDefault="qualified"</i></font></div><div><font size="1"><i> targetNamespace="<a href="http://midpoint.identicum.com/xml/ns/metaPerson">http://midpoint.identicum.com/xml/ns/metaPerson</a>"</i></font></div><div><font size="1"><i> xmlns:a="<a href="http://prism.evolveum.com/xml/ns/public/annotation-3">http://prism.evolveum.com/xml/ns/public/annotation-3</a>"</i></font></div><div><font size="1"><i> xmlns:c="<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>"</i></font></div><div><font size="1"><i> xmlns:tns="<a href="http://midpoint.evolveum.com/xml/ns/samples/extension-3">http://midpoint.evolveum.com/xml/ns/samples/extension-3</a>"</i></font></div><div><font size="1"><i> xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>"></i></font></div><div><font size="1"><i><span class="" style="white-space:pre"> </span><xsd:complexType name="RoleExtensionType"></i></font></div><div><font size="1"><i><span class="" style="white-space:pre"> </span><xsd:annotation></i></font></div><div><font size="1"><i><span class="" style="white-space:pre"> </span><xsd:appinfo></i></font></div><div><font size="1"><i><span class="" style="white-space:pre"> </span><a:extension ref="c:RoleType"/></i></font></div><div><font size="1"><i><span class="" style="white-space:pre"> </span></xsd:appinfo></i></font></div><div><font size="1"><i><span class="" style="white-space:pre"> </span></xsd:annotation></i></font></div><div><font size="1"><i><span class="" style="white-space:pre"> </span><xsd:sequence></i></font></div><div><font size="1"><i><span class="" style="white-space:pre"> </span><xsd:element name="metaParent" type="xsd:ObjectReferenceType" minOccurs="0" maxOccurs="1" /></i></font></div><div><font size="1"><i><span class="" style="white-space:pre"> </span></xsd:sequence></i></font></div><div><font size="1"><i><span class="" style="white-space:pre"> </span></xsd:complexType></i></font></div><div><font size="1"><i></xsd:schema></i></font></div></div><div><br></div><div>But when restarting midPoint I receive the following error:</div><div><br></div><div> XML error during XSD schema parsing: undefined simple or complex type 'xsd:ObjectReferenceType'<br></div><div><br></div><div>Is there a way to do this?</div><div><br></div><div>Thanks in Advance</div><div><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><span></span><span></span>Ing. Martín Marchese</b><br><img src="http://www.identicum.com/img/favicon.ico">Identicum S.A.<br>Anchorena 1357 PB<br>Tel: +54 (11) 3526.5509<br><a href="mailto:mmarchese@identicum.com" target="_blank">mmarchese@identicum.com</a><br><a href="http://www.identicum.com" target="_blank">www.identicum.com</a></div></div></div></div></div>
</div></div>