<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>...I forgot to add something related to second part of your mail:
      are your test & production environments really identical? What
      version? <br>
    </p>
    <p>What you see might be related to the exception mentioned.
      Generally I'd say that in the "production" case the "c" XML prefix
      is not defined in the XML object while serializing it, so it's
      added there. Nothing special. But it's really interesting that the
      other environment does not do that.<br>
    </p>
    <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
    <div class="moz-cite-prefix">On 14/04/2020 13:40, Petr Gašparík -
      AMI Praha a.s. wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABAspd1g5GFJy4oOKDAbYyXas1i1Ar_WqmWOo806kgjVNdUTcw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi all,</div>
        <div>I am seeking for help with a bug that haunting us for half
          a day:</div>
        <div><br>
        </div>
        <div><span
style="color:rgb(51,51,51);font-family:monospace;font-size:14px;background-color:rgb(245,245,245)">prefix="xmlns",localpart="qn906",rawname="xmlns:qn906""
            is invalid. Prefixed namespace bindings may not be empty.</span>  <br>
        </div>
        <div><br>
        </div>
        What we have done: 
        <div>
          <ul>
            <li>we use <i>assignmentTargetSearch </i>to assign a
              service to an user</li>
            <li>we use <i>populate</i> to set validFrom/validTo for
              this new user's assignment to a service</li>
          </ul>
          <div>If we delete the "populate" structure from the template,
            it works.</div>
          <div><br>
          </div>
          <div>The bug is pretty cryptic to us.</div>
          <div><br>
          </div>
          <div>------------------------------</div>
          <div><br>
          </div>
          <div>Also, there is a strange behaviour of midPoint (may be
            related) - two identical* environments (test, production)
            with two identical midPoints, and every environment add
            different sets of namespace attributes:</div>
          <div>
            <ul>
              <li>we upload this tag - part of "populate" structure:<br>
                <font face="monospace"><script></font></li>
              <li>environment test normalizes it to:  <br>
                <font face="monospace"><script xmlns:xsi="<a
                    href="http://www.w3.org/2001/XMLSchema-instance"
                    moz-do-not-send="true">http://www.w3.org/2001/XMLSchema-instance</a>"<br>
                                 
                  xsi:type="c:ScriptExpressionEvaluatorType"></font></li>
              <li>environment production normalizes it to:<br>
                <font face="monospace"><script xmlns:xsi="<a
                    href="http://www.w3.org/2001/XMLSchema-instance"
                    moz-do-not-send="true">http://www.w3.org/2001/XMLSchema-instance</a>"
                  xmlns:c="<a
                    href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
                    moz-do-not-send="true">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>"
                  xsi:type="c:ScriptExpressionEvaluatorType">  </font></li>
            </ul>
            <div>
              <div dir="ltr" class="gmail_signature"
                data-smartmail="gmail_signature">
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div>
                        <div dir="ltr">
                          <div>
                            <div dir="ltr">
                              <div dir="ltr">
                                <div dir="ltr">
                                  <div dir="ltr">
                                    <div dir="ltr">
                                      <div dir="ltr">
                                        <p><span
                                            style="font-family:Arial,sans-serif;font-size:10pt">Any
                                            tips would be helpful. Thank
                                            you in advance!</span></p>
                                        <p><span
                                            style="font-family:Arial,sans-serif;font-size:10pt">--</span></p>
                                        <p><span
                                            style="font-family:Arial,sans-serif;font-size:10pt">best
                                            regards</span></p>
                                        <div
                                          style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:13px">
                                          <p><strong>Petr Gašparík</strong><br>
                                            <span
                                              style="font-size:11px;color:rgb(128,128,128)">konzultant
                                              IT bezpečnosti</span></p>
                                        </div>
                                        <p
                                          style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px">gsm:
                                          [+420] 603 523 860<br>
                                          e‑mail: <a
                                            href="mailto:petr.gasparik@ami.cz"
                                            target="_blank"
                                            moz-do-not-send="true">petr.gasparik@ami.cz</a></p>
                                        <p
                                          style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px"><strong>AMI
                                            Praha a.s.</strong><br>
                                          Pláničkova 11, 162 00 Praha 6</p>
                                        <p
                                          style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px">tel.:
                                          [+420] 274 783 239 | web: <a
                                            href="https://www.ami.cz"
                                            target="_blank"
                                            moz-do-not-send="true">www.ami.cz</a></p>
                                        <p
style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;margin-top:20px"><img
src="http://www.ami.cz/images/podpis/ami_logo.gif" alt="AMI Praha a.s."
                                            style="border:0px"
                                            moz-do-not-send="true"></p>
                                        <p
style="font-family:Arial,sans-serif;font-size:11px;color:rgb(170,170,170)">Textem
                                          tohoto e‑mailu podepisující
                                          neslibuje uzavřít
                                          ani neuzavírá za společnost
                                          AMI Praha a.s.<br>
                                          jakoukoliv smlouvu. Každá
                                          smlouva, pokud bude uzavřena,
                                          musí mít výhradně písemnou
                                          formu.<br>
                                          <span style="font-size:6px"> </span><br>
                                          Tento e‑mail je určen výhradně
                                          pro potřeby jeho adresáta/ů
                                          a může obsahovat důvěrné
                                          nebo osobní<br>
                                          informace. Nejste‑li
                                          zamýšleným příjemcem,
                                          je zakázáno jakékoliv
                                          zveřejňování, zprostředkování<br>
                                          nebo jiné použití těchto
                                          informací. Pokud jste obdrželi
                                          e‑mail neoprávněně, informujte
                                          o tom prosím<br>
                                          odesílatele a vymažte
                                          neprodleně všechny kopie
                                          tohoto e‑mailu včetně
                                          všech jeho příloh. Nakládáním<br>
                                          s neoprávněně získanými
                                          informacemi se vystavujete
                                          riziku právního postihu.</p>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-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="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
  </body>
</html>