>> (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