| Author | Topic |
Posts: 3
Registered: September 2007
|
|
libSBML-3.0.0-win-xerces annotation issues.
|
27 Sep '07 07:45
|
 |
|
Hi,
I am reposting my question as I could not see the text in my earlier post:
Hi,
I have libSBML-3.0.0-win-xerces installed and I am using it in development of QBT (Quantitative Biology Tool) application at NIH. I am trying to save annotations in to sbml file. I have the following issues:
1. JVM crashes every time when I do species.setAnnotation(String st).
Where st = "<myApp:dim xmlns:myApp=' http://www.mysim.org/'>sometext</myApp:dim>"
2. Then I tried species.setAnnotation(XMLNode xmlNode)
Where XMLNode = XMLNode.convertStringToXMLNode("<myApp:dim xmlns:myApp=' http://www.mysim.org/'>sometext</myApp:dim>");
The sbml saves fine but it appends a extra </> in the annotation like:
<listOfSpecies>
<species id="sm1" name="sm1" initialConcentration="0" charge="0">
<annotation>
<myApp:dim xmlns:myApp='http://www.mysim.org/'>sometext</myApp:dim>
</>
</annotation>
</species>
</listOfSpecies>
The extra </> tag makes the sbml file not usable.
I also tried species.setNotes(string) it also saved a extra </> tag in sbml.
Can someone advise how to fix these issues.
I appreciate your help.
--
Regards
Durga Penmatsa
[Updated on: 27 Sep '07 12:43]
|
|
|