<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Martin,</p>
<p>please check if this is not a problem of namespaces.</p>
<p>I.e. change the namespace of metaRelation element to your value
(<a class="moz-txt-link-freetext" href="http://midpoint.identicum.com/xml/ns/metaAssignment">http://midpoint.identicum.com/xml/ns/metaAssignment</a>).</p>
<pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
<div class="moz-cite-prefix">On 15.11.2016 14:10, Martin Marchese
wrote:<br>
</div>
<blockquote
cite="mid:CAG3rmdo37b5zYZLd9F5G3G9rfNZxouRs9tDu6XN0kHQ7_0JkOA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="font-size:12.8px">Hi All,</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">We created the metaAssignment.xsd
file within the home/schema directory and restarted tomcat.
The xsd file content is the following:</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">
<div><font size="1"><?xml version="1.0" encoding="UTF-8"
standalone="yes"?></font></div>
<div><font size="1"><xsd:schema
elementFormDefault="qualified"</font></div>
<div><font size="1"> targetNamespace="<a
moz-do-not-send="true"
href="http://midpoint.identicum.com/xml/ns/metaAssignment"
target="_blank">http://<wbr>midpoint.identicum.com/xml/ns/<wbr>metaAssignment</a>"</font></div>
<div><font size="1"> xmlns:a="<a
moz-do-not-send="true"
href="http://prism.evolveum.com/xml/ns/public/annotation-3"
target="_blank">http://prism.<wbr>evolveum.com/xml/ns/public/<wbr>annotation-3</a>"</font></div>
<div><font size="1"> xmlns:c="<a
moz-do-not-send="true"
href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
target="_blank">http://midpoint.<wbr>evolveum.com/xml/ns/public/<wbr>common/common-3</a>"</font></div>
<div><font size="1"> xmlns:xsd="<a
moz-do-not-send="true"
href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/<wbr>2001/XMLSchema</a>"></font></div>
<div><font size="1"> <xsd:complexType
name="AssignmentExtensionType"<wbr>></font></div>
<div><font size="1"> <xsd:annotation></font></div>
<div><font size="1">
<xsd:appinfo></font></div>
<div><font size="1">
<a:extension ref="c:AssignmentType"/></font></div>
<div><font size="1">
</xsd:appinfo></font></div>
<div><font size="1"> </xsd:annotation></font></div>
<div><font size="1"> <xsd:sequence></font></div>
<div><font size="1"> <xsd:element
name="metaRelation" type="xsd:string" minOccurs="0"
maxOccurs="1" /></font></div>
<div><font size="1"> </xsd:sequence></font></div>
<div><font size="1"> </xsd:complexType></font></div>
<div><font size="1"></xsd:schema></font></div>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">However, seems like the extension
is not being loaded since when we try to add the following
assignment:</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">
<div><font size="1"> <assignment></font></div>
<div><font size="1"> <extension></font></div>
<div><font size="1"> <metaRelation>STUDENT</<wbr>metaRelation></font></div>
<div><font size="1"> </extension></font></div>
<div><font size="1"> <targetRef
oid="fa18702d-7c44-4b73-82fe-<wbr>5cad153782e5"
type="OrgType"/></font></div>
<div><font size="1"> </assignment></font></div>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">We receive the following error:</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px"><font size="1">Item {<a
moz-do-not-send="true"
href="http://midpoint.evolveum.com/xml/ns/public/common/common-3%7DmetaRelation"
target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/common/common-3}<wbr>metaRelation</a> has
no definition (schema present, in container
PCD:{.../common/common-3}<wbr>extension {<a
moz-do-not-send="true"
href="http://midpoint.identicum.com/xml/ns/metaAssignment%7DAssignmentExtensionType%5B0,1%5D,dyn,RAM,runtime%29while"
target="_blank">http://midpoint.identicum.<wbr>com/xml/ns/metaAssignment}<wbr>AssignmentExtensionType[0,1],<wbr>dyn,RAM,runtime)while</a> parsing
( {.../common/common-3}<wbr>metaRelation => parser
ValueParser(DOMe, {.../common/common-3}<wbr>metaRelation:
STUDENT</font><br>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Are we forgetting about something?
Is there a way to troubleshoot if the schema is being loaded
OK?</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Thanks in Advance</div>
<div style="font-size:12.8px"><br>
</div>
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr"><b><span></span><span></span>Ing.
Martín Marchese</b><br>
<img moz-do-not-send="true"
src="http://www.identicum.com/img/favicon.ico">Identicum
S.A.<br>
Jorge Newbery 3226<br>
Tel: +54 (11) 4552-3050<br>
<a moz-do-not-send="true"
href="mailto:mmarchese@identicum.com"
target="_blank">mmarchese@identicum.com</a><br>
<a moz-do-not-send="true"
href="http://www.identicum.com"
target="_blank">www.identicum.com</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
</body>
</html>