Re: Problem with libsbml C# bindings.
15 May '09 12:03
Thanks for your information.
Chihiro Okada <email@example.com> wrote
> Hello, I'm now trying to create a C# software using SBML.
> And I've confronted one problem on libsbml C# bindings (version 3.3.2).
> When I try to load particular SBML model with readSBMLFromString function (Code 1),
> getModel function returns null. And with readSBML function (Code 2), this problem does not occur.
> This problem happened when I used BIOMD0000000012.xml or some other models on BioModels Database.
> And I found it did not occur with libsbml python bindings.
I tried your code and found that
(1) Exactly the same problem happens on Windows (XP/32bit used) when
using libsbml C# bindings (3.3.2) installed by a binary package
(libSBML-3.3.2-win-expat.exe or libSBML-3.3.2-win-xerces.exe)
(2) No problem happens on Windows when using the C# bindings built from
source files (libsbml-3.3.2-src.zip) by Visual Studio 2005.
(I tried libSBML with expat, libxml2, and xerces; and no problems.)
(3) No problem happes on Linux and MacOSX when using the C# bindings
built from source files by Mono.
Could you let me know if you used the C# bindings in one of the above Windows
If not (built from source), could you let me know which OS, XML parser (expat,
xerces, or libxml2), and copmiler you used?
To manage your libsbml-development list subscription, visit
For a web interface to the libsbml-development mailing list, visit
For questions or feedback about the libsbml-development list,
Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)