| Author | Topic |
Posts: 273
Registered: June 2006
|
|
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.
>
Hi Nico,
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.
Cheers
Andreas
--
Dr. Andreas Dräger
University of Tuebingen
Center for Bioinformatics Tuebingen (ZBIT)
Sand 1
72076 Tübingen
Germany
Phone: +49-7071-29-78982
Fax: +49-7071-29-5091
____________________________________________________________
To manage your jsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/jsbml-development
For a web interface to the jsbml-development mailing list, visit
http://sbml.org/Forums/
For questions or feedback about the jsbml-development list,
contact sbml-team@caltech.edu
|
|
|