I just had a word with Frank Bergmann and he pointed out to me that both
variants are of course html, so there is really no issue, I'm not sure
how I missed that. One has to be aware however that upon encountering a
notes tag, your parser should read the entire contents as a single
block. I should also note that I don't think
biomoidels.net uses notes
but uses rdf inside an annotation instead. Does libsbml yet read the
biomodels annotation, I think this would be useful to have. However the
point made by Pedro was interesting, are notes necessary for compliance,
probably not since I think the sbml docs says notes is optional?
Herbert Sauro
-----Original Message-----
From: Pedro Mendes [mailto:
men...@vbi.vt.edu]
Sent: Friday, January 27, 2006 1:15 PM
To:
sbml-d...@caltech.edu
Subject: Re: Clarrify the use of notes
This is a good question, Herbert. I don't know the answers either but
would like to know them too. In addition I would ask if a program is
required to be able to process notes other than just read them. For
example, if a program does not display notes will it then be considered
non-compliant? I think that this should not be a problem for compliance,
but would like to know the opinion of others.
Pedro
On Friday 27 January 2006 14:11, Herbert Sauro wrote:
> Can anyone help me clarrify the use of notes in sbml. The spec gives
> at least two variants on using notes:
>
> One example has the following form:
>
> <notes>
> <body xmlns="
http://www.w3.org/1999/xhtml">
> <p>Simple branch system.</p>
> <p>The reaction looks like this:</p>
> <p>reaction-1: X0 -> S1; k1*X0;</p>
> <p>reaction-2: S1 -> X1; k2*S1;</p>
> <p>reaction-3: S1 -> X2; k3*S1;</p>
> </body>
> </notes>
>
> While another has the simpler form:
>
> <notes>
> <html:p>((vm * s1)/(km + s1))*cell</html:p>
> </notes>
>
> Should a program be ready to parse both forms and are there any other
> variants?
>
> Herbert SAuro
> ----------------------------------------------------------------------
> --
> ---------
> Herbert M Sauro
> Assistant Professor
> Keck Graduate Institute
> 535 Watson Drive
> Claremont, CA, 91711
> Tel:
909 607 0377
> web site:
www.sys-bio.org
>
> Trying to convice a believer of ID that ID isn't science is like
> trying to teach a pig to sing...it wastes your time and annoys the
pig.
--
Pedro Mendes
Research Associate Professor
Virginia Bioinformatics Institute,
Virginia Tech, Washington St.,
Blacksburg, VA 24061-0477, USA
http://mendes.vbi.vt.edu fax:
+1-540-231-2606
606