Hello Andrew,
>
> I've had a look at libsedml and jlibsedml to see if they come with
interface
> definitions, and as far as I can tell, they don't, and there seems to be
> differences between the interfaces (for example, libsedml defines id and
> name attributes on SedMLBase, while jlibsedml has a corresponding abstract
> class called SEDBase which doesn't define name and id, and instead has a
> separate abstract class AbstractIdentifiableElement).
>
These differences can be explained through the fact that jlibsedml at its
base has been generated out of Schema. However, these changes won't be vital
for developers.
> Has there been any interest in defining a standard IDL or similar
language-
> neutral interface definition of an API for accessing SED-ML - and are
there
> any efforts to standardise these interfaces underway?
>
Not that I am aware off. The current implementations have been developed to
suite the strengths of their maintainers. I'm open to add a compatibility
layer on top of libSedML if developers see a need for it.
> I need to define an IDL to work with my framework anyway, so if there is
> sufficient interest and no one else has done it already, I'm happy to work
on
> making a 'standard' SED-ML IDL as a collaborative effort - from which
> implmentors can define how the IDL maps to their way of doing things in
> their language (or use an existing language binding).
>
It might be interesting to see. At some level, I'm a bit skeptical as to how
much an API should be the same across programming languages. There are
different feature sets provided by different programming languages for
example language constructs like: Object / Collection Initializers, Language
Integrated Query in C#. Using these will make the task of using the library
much easier, even at the cost that the API would look different than it does
in other programming languages.
Cheers
Frank
> Best wishes,
> Andrew
>
>
----------------------------------------------------------------------------
--
> Protect Your Site and Customers from Malware Attacks Learn about various
> malware tactics and how to avoid them. Understand malware threats, the
> impact they can have on your business, and how you can protect your
> company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> SED-ML-discuss mailing list
> SED...@li...
> https://lists.sourceforge.net/lists/listinfo/sed-ml-discuss
|