Re: create compartment is missing id
18 Apr '11 20:16
Oh, shoot, sorry. That'll teach me about replying too quickly...
On Apr 18, 2011, at 22:49, Lucian Smith <email@example.com> wrote:
> * Michael Hucka <firstname.lastname@example.org> [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.
> To manage your jsbml-development list subscription, visit
> For a web interface to the jsbml-development mailing list, visit
> For questions or feedback about the jsbml-development list,
> contact email@example.com
To manage your jsbml-development list subscription, visit
For a web interface to the jsbml-development mailing list, visit
For questions or feedback about the jsbml-development list,
Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)