<?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: xml and fortran in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834216#M54004</link>
    <description>For what it's worth, &lt;A href="http://xml.apache.org/xerces-c/"&gt;Xerces&lt;/A&gt; is also a widely used and free XML parser, and it's written in "plain vanilla" C++ (as opposed to CLR), so there shouldn't be any CLR problems even if you interact with Fortran. I used it myself on few occasions, albeit only from a pure C++ environemnt.&lt;BR /&gt;</description>
    <pubDate>Tue, 03 Apr 2007 15:45:04 GMT</pubDate>
    <dc:creator>Jugoslav_Dujic</dc:creator>
    <dc:date>2007-04-03T15:45:04Z</dc:date>
    <item>
      <title>xml and fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834211#M53999</link>
      <description>&lt;P class="MsoNormal"&gt;I have to parse xml files from FORTRAN. I have developed a C++
library that uses visual studio XML libraries.&lt;/P&gt;

&lt;P class="MsoNormal"&gt;If I call the subroutine that opens and reads the XML file
from a C executable everything works fine. Now, if I do the same from a FORTRAN
executable doesnt work. It gives a forrtl error. I dont really understand
what happens. I would appreciate any help in this issue. I upload the solution
with the C++ library and the two executable projects.&lt;/P&gt;

&lt;P class="MsoNormal"&gt;&lt;P&gt;&lt;/P&gt;&lt;/P&gt;

&lt;P class="MsoNormal"&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2007 00:17:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834211#M53999</guid>
      <dc:creator>fernando_gmu</dc:creator>
      <dc:date>2007-04-03T00:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: xml and fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834212#M54000</link>
      <description>The zip file you attached is empty; please re-upload.&lt;BR /&gt;&lt;BR /&gt;Yoy may also be interested in &lt;A href="http://xml-fortran.sourceforge.net/"&gt;this&lt;/A&gt;.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Apr 2007 07:21:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834212#M54000</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2007-04-03T07:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: xml and fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834213#M54001</link>
      <description>Sorry, I have upload the zip file again. I will take a look to your sugestion. However, I will still like to know why the runtime error calling from fortran and not from c. &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Apr 2007 13:12:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834213#M54001</guid>
      <dc:creator>fernando_gmu</dc:creator>
      <dc:date>2007-04-03T13:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: xml and fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834214#M54002</link>
      <description>Having seen the code, I have a hunch that you get the crash because the static library uses CLR through #using &lt;MSCORLIB.DLL&gt;, that Fortran (as well as myself) knows nothing about. &lt;BR /&gt;&lt;BR /&gt;When I remove the references to namespace System and all that stuff (i.e. reducing the C++ code to bare bones without XML parser), the call is successfull (modulo the terminating &amp;#0; you forgot to append to filename, modulo the passed string length you didn't handle, but never mind). Even when I turn the winfgl into a DLL, the behavior is the same. &lt;BR /&gt;&lt;BR /&gt;Offhand, it seems that there's no way for Fortran to ultimately call CLR anything; perhaps someone else might shed some more light on the subject.&lt;BR /&gt;&lt;BR /&gt;P.S. 0xe0434f4d is &lt;A href="http://dotnetjunkies.com/WebLog/wicwil/archive/2006/04/28/137513.aspx"&gt;a CLR exception indeed&lt;/A&gt;.&lt;BR /&gt;&lt;/MSCORLIB.DLL&gt;</description>
      <pubDate>Tue, 03 Apr 2007 14:10:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834214#M54002</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2007-04-03T14:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: xml and fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834215#M54003</link>
      <description>&lt;P&gt;Thanks for the link, good information. &lt;/P&gt;
&lt;P&gt;It seems that I don't have too many options in this one.&lt;/P&gt;
&lt;P&gt;Fernando&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2007 15:16:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834215#M54003</guid>
      <dc:creator>fernando_gmu</dc:creator>
      <dc:date>2007-04-03T15:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: xml and fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834216#M54004</link>
      <description>For what it's worth, &lt;A href="http://xml.apache.org/xerces-c/"&gt;Xerces&lt;/A&gt; is also a widely used and free XML parser, and it's written in "plain vanilla" C++ (as opposed to CLR), so there shouldn't be any CLR problems even if you interact with Fortran. I used it myself on few occasions, albeit only from a pure C++ environemnt.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Apr 2007 15:45:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834216#M54004</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2007-04-03T15:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: xml and fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834217#M54005</link>
      <description>&lt;P&gt;Great tip. This make it for me. I willtry it.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Fernando&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2007 15:53:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/xml-and-fortran/m-p/834217#M54005</guid>
      <dc:creator>fernando_gmu</dc:creator>
      <dc:date>2007-04-03T15:53:44Z</dc:date>
    </item>
  </channel>
</rss>

