<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      You have hit a very annoying JAXB bug. JAXB libraries do not
      handle the QName values with no namespace prefix correctly in some
      situations. The "type" attribute of object references is one of
      these situations. We were unable to fix the JAXB libraries (any
      help or advice here is greatly appreciated). Fortunatelly there is
      a simple workaround: specify the namespace prefix explicitly.
      Therefore instead of<br>
      <c:resourceRef oid="b8a157a0-b2ba-43f2-a410-872853f10476"
      type="ResourceType"/><br>
      use<br>
      <c:resourceRef oid="b8a157a0-b2ba-43f2-a410-872853f10476"
      type="c:ResourceType"/><br>
      <br>
      <pre class="moz-signature" cols="72">-- 

                                           Radovan Semancik
                                          Software Architect
                                             evolveum.com
</pre>
      <br>
      <b><br>
      </b>On 10/29/2013 05:41 PM, Deepak Natarajan wrote:<br>
    </div>
    <blockquote
      cite="mid:29DDBC18-5268-4A72-A790-ABA071C62E74@trilobytesystems.com"
      type="cite">I have checked my object template definition and
      verified that the namespace in question is there :
      <div apple-content-edited="true"><br>
      </div>
      <div apple-content-edited="true">
        <div apple-content-edited="true">   <c:mapping<b> xmlns:c="<a
              moz-do-not-send="true"
              href="http://midpoint.evolveum.com/xml/ns/public/common/common-2a">http://midpoint.evolveum.com/xml/ns/public/common/common-2a</a>"</b></div>
        <div apple-content-edited="true">              xmlns:icfs="<a
            moz-do-not-send="true"
href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2">http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2</a>"</div>
        <div apple-content-edited="true">              xmlns:t="<a
            moz-do-not-send="true"
            href="http://prism.evolveum.com/xml/ns/public/types-2">http://prism.evolveum.com/xml/ns/public/types-2</a>"</div>
        <div apple-content-edited="true">              xmlns:icfc="<a
            moz-do-not-send="true"
href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-2">http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-2</a>"</div>
        <div apple-content-edited="true">              xmlns:q="<a
            moz-do-not-send="true"
            href="http://prism.evolveum.com/xml/ns/public/query-2">http://prism.evolveum.com/xml/ns/public/query-2</a>"</div>
        <div apple-content-edited="true">              xmlns:cap="<a
            moz-do-not-send="true"
href="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2">http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2</a>"</div>
        <div apple-content-edited="true">              xmlns:apti="<a
            moz-do-not-send="true"
            href="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2">http://midpoint.evolveum.com/xml/ns/public/common/api-types-2</a>"</div>
        <div apple-content-edited="true">              xmlns:wfcf="<a
            moz-do-not-send="true"
            href="http://midpoint.evolveum.com/xml/ns/model/workflow/common-forms-2">http://midpoint.evolveum.com/xml/ns/model/workflow/common-forms-2</a>"</div>
        <div apple-content-edited="true">              xmlns:m="<a
            moz-do-not-send="true"
            href="http://midpoint.evolveum.com/xml/ns/public/model/model-context-2">http://midpoint.evolveum.com/xml/ns/public/model/model-context-2</a>"</div>
        <div apple-content-edited="true">              xmlns:ds="<a
            moz-do-not-send="true"
            href="http://www.w3.org/2000/09/xmldsig#">http://www.w3.org/2000/09/xmldsig#</a>"</div>
        <div apple-content-edited="true">              xmlns:enc="<a
            moz-do-not-send="true"
            href="http://www.w3.org/2001/04/xmlenc#">http://www.w3.org/2001/04/xmlenc#</a>"></div>
        <div apple-content-edited="true">      <c:expression></div>
        <div apple-content-edited="true">         <c:value></div>
        <div apple-content-edited="true">           
          <c:assignment></div>
        <div apple-content-edited="true">             
           <c:construction></div>
        <div apple-content-edited="true">                <b> 
            <c:resourceRef oid="b8a157a0-b2ba-43f2-a410-872853f10476"
            type="ResourceType"/></b></div>
        <div apple-content-edited="true">                   
          </c:construction></div>
        <div apple-content-edited="true">               
          </c:assignment></div>
        <div apple-content-edited="true">            </c:value></div>
        <div apple-content-edited="true"><br>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>