<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Unable to Re-Import Native XML Exported Using CODESYS Script API</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f750ef8666/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f750ef8666/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/f750ef8666/</id><updated>2025-09-12T13:03:07.524000Z</updated><subtitle>Recent posts to Unable to Re-Import Native XML Exported Using CODESYS Script API</subtitle><entry><title>Unable to Re-Import Native XML Exported Using CODESYS Script API</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f750ef8666/?limit=25#aa04" rel="alternate"/><published>2025-09-12T13:03:07.524000Z</published><updated>2025-09-12T13:03:07.524000Z</updated><author><name>monw</name><uri>https://forge.codesys.com/u/monw/</uri></author><id>https://forge.codesys.comc0ddc75a0cc4c14c11fa560fa80b537518b072bd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When exporting a Logical Device or Logical Exchange GVL using the native XML export functionality of the CODESYS Script API, I encounter the following error upon re-import:&lt;/p&gt;
&lt;p&gt;"Error in IEnumeratorOfTWrapper. Current. Could not cast: System.String in System.Char"&lt;/p&gt;
&lt;p&gt;I am using CODESYS V3.5 SP21 Patch 2. Is there a known solution or workaround for this issue? Notably, importing the same XML file through the CODESYS Engineering IDE's menu import works without error.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>