<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Petr,<br>
    <br>
    I have never used XML connector, but I suppose that based on your
    error message, you have two uid attributes in schema handling. I'd
    say, one of them should be icfs:uid and the other is ri:uid (?)
    Please check attribute namespaces in schema handling.<br>
    <br>
    I.<br>
    <br>
    <div class="moz-cite-prefix">On 05/18/2015 12:00 PM, Petr Gašparík
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAFmDq44nQsw2G+jTtd7jds9nQzu1k7kmQX6WdzC4MOTcWW1jvg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div>I an trying to use XML connector from OpenICF. </div>
        <div>I am using sample5 as reference (<a moz-do-not-send="true"
href="https://svn.forgerock.org/openidm/trunk/openidm-zip/src/main/resources/samples/sample5/data/">https://svn.forgerock.org/openidm/trunk/openidm-zip/src/main/resources/samples/sample5/data/</a>),</div>
        and after some fiddling I got this error, I can't move over,
        even to Schema and Schema handling in wizard.<br>
        <br>
        It is after declaring 
        <div> - xml_LDAP_Data.xml as xml</div>
        <div> - resource-schema-extension.xsd as xsd schema</div>
        <div> - resource-schema-1.xsd as icf xsd schema</div>
        <div><br>
          Error: <br>
          Schema error while processing schemaHandling section of
          <a class="moz-txt-link-freetext" href="resource:bc5085d7-c1df-4eec-a5df-4ea60bc292d1(XML">resource:bc5085d7-c1df-4eec-a5df-4ea60bc292d1(XML</a> 150518):
          Duplicate definition of attribute {<a moz-do-not-send="true"
href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3%7Duid">http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3}uid</a>
          in null, in object class {<a moz-do-not-send="true"
href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3%7DAccountObjectClass">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}AccountObjectClass</a>
          (interpreted as account type definition), in definition of
          <a class="moz-txt-link-freetext" href="resource:bc5085d7-c1df-4eec-a5df-4ea60bc292d1(XML">resource:bc5085d7-c1df-4eec-a5df-4ea60bc292d1(XML</a> 150518)</div>
        <div>operation.com.evolveum.midpoint.web.component.wizard.resource.NameStep.saveResource</div>
        <div><br>
        </div>
        <div>thank you in advance<br>
          <div>
            <div>
              <div class="gmail_signature">--<br>
                Petr Gašparík</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>
    <pre class="moz-signature" cols="72">-- 
  Ing. Ivan Noris
  Senior Identity Management Engineer & IDM Architect
  evolveum.com                     evolveum.com/blog/
  ___________________________________________________
  "Semper Id(e)M Vix."
</pre>
  </body>
</html>