libSBML-3.0.0-win-xerces annotation issues.
27 Sep '07 07:45
I am reposting my question as I could not see the text in my earlier post:
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:
<species id="sm1" name="sm1" initialConcentration="0" charge="0">
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.
[Updated on: 27 Sep '07 12:43]
Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)