Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-interoperability » libSBML-3.0.0-win-xerces annotation issues.
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Durga Penmatsa


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]

      

SubjectPosterDate
Read Message   libSBML-3.0.0-win-xerces annotation issues.  Durga Penmatsa27 Sep '07 07:45
Previous Topic:Re: libSBML-3.0.0-win-xerces issues.
Next Topic:can't import libsbml 3.0 under python 2.5 for windows
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.