* Andreas Drger <andreas.draeger@uni-tuebingen.de> [2011-04-18 17:29] writes:
> Hi Spike,
>
> It is really not obvious why you create an invalid model here.
>
> >> final SBMLDocument document = new SBMLDocument(2, 4);
> >> document.createModel("MyModel");
> >> Compartment compartment = new Compartment();
>
> Here is the problem. You didn't specifiy the Level/Version combination
> for your compartment.
I would suggest that either creation of SBML objects without any arguments
be illegal, or that they default to the *latest* level and version, not
the first.