<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi,</div>

<div> </div>

<div>i’m doing the Selection by [main viewer frame].SetSelectionXML(PUBLIC_STR).</div>

<div>I’ve found out that the problem is the XSD which is used by setting the selection. I tried to set a selection by doing this</div>

<div>var selXML = viewerFrame.mapFrame.GetSelectionXML();</div>

<div>viewerFrame.mapFrame.ClearSelection();</div>

<div>viewerFrame.mapFrame.SetSelectionXML(selXML);</div>

<div> </div>

<div>and it works. Then I compared the selXML string  with my string which I create with my Code.</div>

<div>-----------</div>

<div>My Code:</div>

<div>-----------</div>

<div> </div>

<div><?xml version="1.0" encoding="UTF-8"?></div>

<div><FeatureSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FeatureSet-1.0.0.xsd"></div>

<div><Layer id="1ae8c704-bd8d-11e4-800d-0050569026c7"> </div>

<div><Class id="KingOra:ALKIS_02~ALK_DF_FLURSTUECK~GEOM">  </div>

<div><ID>GUsCAAAAAAA=</ID> </div>

<div></Class> </Layer></div>

<div></FeatureSet></div>

<div>-----------------------------------------------------------------------------------------------------------------------------------------------</div>

<div>CODE FROM viewerFrame.mapFrame.GetSelectionXML() ( which works)</div>

<div>-----------------------------------------------------------------------------------------------------------------------------------------------</div>

<div><?xml version="1.0" encoding="UTF-8"?></div>

<div><FeatureSet></div>

<div><Layer id="34664b3e-bd8d-11e4-800d-0050569026c7"></div>

<div><Class id="KingOra:OFI_ALKIS_02~ALK_DF_FLURSTUECK~GEOM"></div>

<div><ID>GUsCAAAAAAA=</ID></div>

<div></Class></div>

<div></Layer></div>

<div></FeatureSet></div>

<div> </div>

<div> </div>

<div>So, why is there a</div>

<div> --> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FeatureSet-1.0.0.xsd"</div>

<div> </div>

<div>which is obviously wrong? Can I change something in my code to fix this issue?</div>

<div> </div>

<div>Thanks for your help :-)</div>
</div></div></body></html>