| Author | Topic |
Posts: 961
Registered: October 2003
|
|
Re: create compartment is missing id
|
18 Apr '11 20:16

|
 |
|
Oh, shoot, sorry. That'll teach me about replying too quickly...
MH
On Apr 18, 2011, at 22:49, Lucian Smith <lpsmith@spod-central.org> wrote:
> * Michael Hucka <mhucka@caltech.edu> [2011-04-18 17:01] writes:
>>>> (5) <listOfCompartments>
>>>> (6) <compartment name="SPIKE_cell"/>
>>>> (7) </listOfCompartments>
>>>
>>>
>>> validating the resulting xml in the online validator gives an error.
>>> "Error Line 6 Column 39: (XML Error #1015) Missing a required XML
>>> attribute. The compartment attribute 'id' is required."
>>>
>>> What am i doing wrong?
>>
>> The field 'id' is a required field on compartment objects in SBML. 'name' is optional. Best thing is to read section 3.3 in the SBML L2v4 specification, available from http://precedings.nature.com/documents/2715/version/1
>
> They actually did call 'setId' earlier in the code--as it turned out
> later, it was because they were by default creating a l1v1 object, and
> that call had failed, or something.
>
> -Lucian
> ____________________________________________________________
> 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
|
|
|