<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GDL XML Addon Bugs in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/GDL-XML-Addon-Bugs/m-p/167181#M5201</link>
    <description>I am not using it in a mixed os environment, so the workflow I am using is to have a full filepath to the XML file.  It use to work to just put it in the project library, but with Teamwork 2 it is easier to just link directly to the file with the full filepath.</description>
    <pubDate>Fri, 02 Sep 2011 16:03:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-09-02T16:03:21Z</dc:date>
    <item>
      <title>GDL XML Addon Bugs</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-XML-Addon-Bugs/m-p/167180#M5200</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi Everyone,&lt;BR /&gt;
&lt;BR /&gt;
I am experiencing a couple of File Dialog bugs when inputing data to GDL Objects via the GDL XML Addon. I figured the developer community is more likely to have experienced these issues.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;OSX Bug&lt;/B&gt;&lt;BR /&gt;
On OSX 10.6.8 AC14, the following line opens the file dialogue but does not enable the "Open" button even though the XML file is in the Folder. Only the "Cancel" button is enabled. &lt;BR /&gt;
&lt;BR /&gt;
XmlFilename = ImportData.xml&lt;BR /&gt;
channel = OPEN ("XML", XmlFilename, "rd")&lt;BR /&gt;
&lt;BR /&gt;
channel = OPEN ("XML", XmlFilename, "r") , &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;with only the 'r'&lt;E&gt;&lt;/E&gt; flag, does not return the file regardless of what directory it has been placed in. That iss, root directory, user home directory, user Documents directory or Archicad Data folder.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Win XP 32bit Bug&lt;/B&gt;&lt;BR /&gt;
On WinXP, the 'd' flag does not trigger a File Dialog and the OPEN function returns -1.&lt;BR /&gt;
&lt;BR /&gt;
channel = OPEN ("XML", XmlFilename, "r") , with only the 'r' flag, searches the users "My Documents" folder and returns the XML file for parsing.&lt;BR /&gt;
&lt;BR /&gt;
Once the XML file has been opened on WIN XP it can be parsed without an issue.&lt;BR /&gt;
&lt;BR /&gt;
I'd really like the user to locate the folder containing the XML files. Has anybody experienced these issues and are there any fixes or work arounds?&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
&lt;BR /&gt;
Nicholas&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 14:39:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-XML-Addon-Bugs/m-p/167180#M5200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-23T14:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: GDL XML Addon Bugs</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-XML-Addon-Bugs/m-p/167181#M5201</link>
      <description>I am not using it in a mixed os environment, so the workflow I am using is to have a full filepath to the XML file.  It use to work to just put it in the project library, but with Teamwork 2 it is easier to just link directly to the file with the full filepath.</description>
      <pubDate>Fri, 02 Sep 2011 16:03:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-XML-Addon-Bugs/m-p/167181#M5201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-02T16:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: GDL XML Addon Bugs</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-XML-Addon-Bugs/m-p/167182#M5202</link>
      <description>Thanks Michael,&lt;BR /&gt;
&lt;BR /&gt;
I appreciate the reply. Unfortunately, on OSX 10.6, the full pathname command does not return the file for parsing.&lt;BR /&gt;
&lt;BR /&gt;
/Users/MacUserName/Documents/ProjectDataTest.xml&lt;BR /&gt;
File Does Not Exist&lt;BR /&gt;
User break&lt;BR /&gt;
 at line 59 in the Master script of file XML_Parsing.gsm. (System error -1)&lt;BR /&gt;
&lt;BR /&gt;
The file permissions are OK, so no issues there. So for OSX I will have to convert the XML into plain text outside ArchiCAD.&lt;BR /&gt;
&lt;BR /&gt;
Does anyone know if the file format of the OSX disk have an effect on weather an XML file can be opened? For example, would "Mac OS Extended (Journaled)" prevent the GDL XML Add-on from finding the file?&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
&lt;BR /&gt;
Nicholas</description>
      <pubDate>Mon, 05 Sep 2011 02:18:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-XML-Addon-Bugs/m-p/167182#M5202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-05T02:18:58Z</dc:date>
    </item>
  </channel>
</rss>

