<?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 XML converter Bug in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/XML-converter-Bug/m-p/15690#M5026</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Starting a new thread from here:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=7435" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... php?t=7435"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=7435&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;
I took for exsample the folder 'moebel' from obejct explorer 2.0 and convert it to XML and back. There I look at Armstuhl_4.gsm &lt;BR /&gt;
&lt;BR /&gt;
When I the watch the GSM in GDL-explorer it always shows an error on displaying the 3DView: &lt;BR /&gt;
Stiftnummer ist kleiner als 1 oder groesser als 255 bei Zeile 7 von Datei 4A4C_Armstuhl_4.gsm &lt;BR /&gt;
&lt;BR /&gt;
Translation: &lt;BR /&gt;
pen-number is lesser than 1 and bigger than 255 at line 7 of file 4A4C_Armstuhl_4.gsm &lt;BR /&gt;
&lt;BR /&gt;
Why this error? I do not change anything. &lt;BR /&gt;
Why '4A4C_' in front of the filename? &lt;BR /&gt;
&lt;BR /&gt;
The UI interface shows up and worked.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Also strange: &lt;BR /&gt;
&lt;BR /&gt;
When I convert the new GSM back to XML and made a diff between the XML from original and converted they only differ in the second version-GUID. &lt;BR /&gt;
&lt;BR /&gt;
Also the 2 lines which cause the error are: &lt;BR /&gt;
&lt;BR /&gt;
7 pen gs_cont_pen &lt;BR /&gt;
19 pen gs_cont_pen &lt;BR /&gt;
&lt;BR /&gt;
And a HEX diff between the 2 GSM show a slightly diff in some sections. &lt;BR /&gt;
So the copy is definatly different form the original besides the version GUID.
&lt;/BLOCKQUOTE&gt;

Should the converter be able to produce a 1 to 1 copy (besides version-number) of a GDL?&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 23 May 2023 14:41:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-23T14:41:02Z</dc:date>
    <item>
      <title>XML converter Bug</title>
      <link>https://community.graphisoft.com/t5/GDL/XML-converter-Bug/m-p/15690#M5026</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Starting a new thread from here:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=7435" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... php?t=7435"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=7435&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;
I took for exsample the folder 'moebel' from obejct explorer 2.0 and convert it to XML and back. There I look at Armstuhl_4.gsm &lt;BR /&gt;
&lt;BR /&gt;
When I the watch the GSM in GDL-explorer it always shows an error on displaying the 3DView: &lt;BR /&gt;
Stiftnummer ist kleiner als 1 oder groesser als 255 bei Zeile 7 von Datei 4A4C_Armstuhl_4.gsm &lt;BR /&gt;
&lt;BR /&gt;
Translation: &lt;BR /&gt;
pen-number is lesser than 1 and bigger than 255 at line 7 of file 4A4C_Armstuhl_4.gsm &lt;BR /&gt;
&lt;BR /&gt;
Why this error? I do not change anything. &lt;BR /&gt;
Why '4A4C_' in front of the filename? &lt;BR /&gt;
&lt;BR /&gt;
The UI interface shows up and worked.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Also strange: &lt;BR /&gt;
&lt;BR /&gt;
When I convert the new GSM back to XML and made a diff between the XML from original and converted they only differ in the second version-GUID. &lt;BR /&gt;
&lt;BR /&gt;
Also the 2 lines which cause the error are: &lt;BR /&gt;
&lt;BR /&gt;
7 pen gs_cont_pen &lt;BR /&gt;
19 pen gs_cont_pen &lt;BR /&gt;
&lt;BR /&gt;
And a HEX diff between the 2 GSM show a slightly diff in some sections. &lt;BR /&gt;
So the copy is definatly different form the original besides the version GUID.
&lt;/BLOCKQUOTE&gt;

Should the converter be able to produce a 1 to 1 copy (besides version-number) of a GDL?&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 14:41:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/XML-converter-Bug/m-p/15690#M5026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-23T14:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: XML converter Bug</title>
      <link>https://community.graphisoft.com/t5/GDL/XML-converter-Bug/m-p/15691#M5027</link>
      <description>The converter should, and as far as I know, does convert round-trip perfectly for ArchiCAD.&lt;BR /&gt;
&lt;BR /&gt;
But, the web control is another matter.  I have seen the pen error with various parts in the past (David Nicholson-Cole discussed this on GDL Talk a while ago) ...but have not used the web control for well over a year, so do not know anything about its status and if/how it interprets things differently than AC itself.  Someone else will have to comment. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Fri, 15 Jul 2005 18:42:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/XML-converter-Bug/m-p/15691#M5027</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2005-07-15T18:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: XML converter Bug</title>
      <link>https://community.graphisoft.com/t5/GDL/XML-converter-Bug/m-p/15692#M5028</link>
      <description>&lt;BLOCKQUOTE&gt;
The converter should, and as far as I know, does convert round-trip perfectly for ArchiCAD. 
&lt;/BLOCKQUOTE&gt;

But why is the the GSM in HEX different on more than only the version-GUID. So it is not only for the web control.&lt;BR /&gt;
&lt;BR /&gt;
Also I tried it with GDL explorer 1+2.</description>
      <pubDate>Fri, 15 Jul 2005 20:02:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/XML-converter-Bug/m-p/15692#M5028</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-15T20:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: XML converter Bug</title>
      <link>https://community.graphisoft.com/t5/GDL/XML-converter-Bug/m-p/15693#M5029</link>
      <description>The XML converter always creates GDL objects for the current ArchiCAD version (the ArchiCAD version it came with). &lt;BR /&gt;
So I suspect you picked a 8.1 version GDL object, converted it to XML and when you convert that XML back to GSM it will be compiled for AC version 9.0. Since the GDL web control for version 9.0 just came out, I suspect Object Explorer 2.0 doesn't use that, so that's the cause of your error. &lt;BR /&gt;
 &lt;BR /&gt;
HTH: &lt;BR /&gt;
Andras.</description>
      <pubDate>Mon, 18 Jul 2005 14:07:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/XML-converter-Bug/m-p/15693#M5029</guid>
      <dc:creator>Andras Babos</dc:creator>
      <dc:date>2005-07-18T14:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: XML converter Bug</title>
      <link>https://community.graphisoft.com/t5/GDL/XML-converter-Bug/m-p/15694#M5030</link>
      <description>Thanks for the tip:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt;the ArchiCAD version it came with&lt;BR /&gt;
&lt;BR /&gt;
I have no Archicad yet so it was a separate download from graphisoft.&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt;I suspect Object Explorer 2.0 doesn't use that, so that's the cause of your error.&lt;BR /&gt;
&lt;BR /&gt;
Yes, it uses 2.01!&lt;BR /&gt;
&lt;BR /&gt;
I made a sample HTML and place my converted object into it.&lt;BR /&gt;
And voila no more error with web control 9.&lt;BR /&gt;
&lt;BR /&gt;
The worse about it: It seems not to be documented anywhere that it only works with web control 9. No more update for GDL Explorer, so XML converter and explorer never gets together.</description>
      <pubDate>Mon, 18 Jul 2005 15:33:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/XML-converter-Bug/m-p/15694#M5030</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-07-18T15:33:59Z</dc:date>
    </item>
  </channel>
</rss>

