The methos setParentSBML in SBase and AbstractSBase can lead to a
destroyed SBML data structure. In previous versions the attribute
parentSBMLObject had the default modifier. This ensured that only
classes within the jsbml package were able to access this attribute and
to change its value. This way pointers could not be set to objects that
aren't actually the parent node in the SBML hierarchy. Having this
method set to public allows also other objects from the outside to
destroy the model and to create incorrect and invalid SBML. I'd like to
set the modifier to the default value again.
Cheers
Andreas
--
Dipl.-Bioinform. Andreas Dräger
Eberhard Karls University Tübingen
Center for Bioinformatics (ZBIT)
Sand 1
72076 Tübingen
Germany