Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » jsbml-development » jsbml/parsing errors
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
rodrigue


Posts: 307
Location:
Cambridge UK
Registered:
February 2005
Re: jsbml/parsing errors 31 Mar '11 01:42 Go to previous messageGo to previous message

Dinasarapu, Ashok reddy wrote:
> Hi Andreas,
>
> I am sending you the file that I have to parse to get the required data.
>
>
The problem is that we use the class LocalParameter, for all level and
version of SBML, for the local parameter of a reaction.
And this class as no constant attribute, like in SBML level 3. However,
the constant attribute was always set to true for local parameter.

One simple fix is to add a check for the constant attribute in the
readAttribute method of LocalParameter and return true there to tell
the main parser that the attribute is recognized. We can check there
that the value is always true by the way, and send a warning if it is not.

One question is, do we want to write back the constant attribute to keep
the file as it was ?? If yes, we probably need to add a class attribute
to tell us if the constantAttribute was set and then add it in the
writeAttribute method.

What do people thing about that ?

Nico


> From: Dinasarapu, Ashok reddy
> Sent: Wednesday, March 30, 2011 12:29 PM
> To: 'jsbml-development@caltech.edu'
> Subject: jsbml/parsing errors
>
> Hi,
>
> I am trying parse/read SBML data file from BRENDA.
>
> There are many errors like the following, while parsing.
>
> - The attribute constant on the element parameter is not recognize. Please, check the SBML specifications
> - The attribute constant on the element parameter is not recognize. Please, check the SBML specifications
> - The attribute constant on the element parameter is not recognize. Please, check the SBML specifications
> - The attribute constant on the element parameter is not recognize. Please, check the SBML specifications
> - The attribute constant on the element parameter is not recognize. Please, check the SBML specifications
> ......
>
> Is there any wrong with the data file or library!.
>
> Regards,
> Ashok
>
> ------------------------------------------------------------------------
>
> ____________________________________________________________
> 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

____________________________________________________________
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

      

SubjectPosterDate
Read Message   jsbml/parsing errors adinasarapu30 Mar '11 12:29
Read Message   Re: jsbml/parsing errors Andreas Dräger30 Mar '11 12:58
Read Message   Re: jsbml/parsing errors adinasarapu30 Mar '11 15:31
Read Message   Re: jsbml/parsing errors Lucian Smith30 Mar '11 15:44
Read Message   Re: jsbml/parsing errors Andreas Dräger30 Mar '11 22:37
Read Message   Re: jsbml/parsing errors rodrigue31 Mar '11 01:29
Read Message   Re: jsbml/parsing errors rodrigue31 Mar '11 01:48
Read Message   Re: jsbml/parsing errors rodrigue31 Mar '11 03:52
Read Message   Re: jsbml/parsing errors Sarah Keating31 Mar '11 06:38
Read Message   Re: jsbml/parsing errors  rodrigue31 Mar '11 01:42
Read Message   Re: jsbml/parsing errors Andreas Dräger31 Mar '11 01:50
Read Message   Re: jsbml/parsing errors rodrigue31 Mar '11 01:58
Read Message   Re: jsbml/parsing errors Andreas Dräger31 Mar '11 02:05
Read Message   Re: [jsbml-development] jsbml/parsing errors Pedro Mendes31 Mar '11 02:45
Read Message   Re: [sbml-discuss] jsbml/parsing errors Mike Hucka31 Mar '11 05:51
Read Message   Re: [jsbml-development] jsbml/parsing errors Mike Hucka31 Mar '11 05:51
Read Message   Re: [jsbml-development] jsbml/parsing errors Andreas Dräger31 Mar '11 02:05
Read Message   Re: jsbml/parsing errors rodrigue31 Mar '11 01:51
Previous Topic:Errors for undefined elements
Next Topic:Persistent attribute
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.