Re: Inclusion of SBML package parsers
13 Mar '12 23:46
Am 3/13/12 6:09 PM, schrieb Nicolas Rodriguez:
> One thing that will not work with the current trunk code is if you have
> an SBML file
> with a package not known by JSBML. The reading of such a file will
> failed as I did not yet implement this feature in the parser.
> This join the thread about storing custom object anywhere in the data
> structure. To support the reading of unknown package,
> we should be able to store the unknown XML elements as an XMLNode
> wherever it is encounter in the file, so anywhere in the JSBML tree.
> We could add a specific attribute of type XMLNode in SBase or
> AbstractTreeNode for that, or we could use the proposed custom objects ?
> Having a specific attribute might be clearer and we should check how
> libSBML is doing that as well.
From my perspective the XMLNode approach would be more suitable,
because I intended the user objects really as a way to temporarily
associate SBML objects with additional data objects that will neither be
written to an XML file, nor will originate from such a file. Hence, I
would prefer to have two separate items for both cases.
Dr. Andreas Dräger
University of Tuebingen
Center for Bioinformatics Tuebingen (ZBIT)
To manage your jsbml-development list subscription, visit
For a web interface to the jsbml-development mailing list, visit
For questions or feedback about the jsbml-development list,
Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)