Format of experiment XML needs update

While working on a parser for experiment XML files, I found that the format described in https://docs.netlogo.org/7.0.3/behaviorspace#advanced-usage is still the format prior to NetLogo 7.0.
(Edit: more specifically https://docs.netlogo.org/7.0.3/behaviorspace#setting-up-experiments-in-xml)

Can you please update the XML to the 7.0 format?

1 Like

Hi Mark,

Thank you for the heads up, that seems to be an accidental regression. This section was updated a while back, and the correct version of that section is deployed in the previous version of the docs. Until we’re able to resolve the issue, you can reference the version at the link I sent; I don’t believe there have been any changes to the format since then.

Isaac B.

Hi Isaac,

Thank you for the pointer.

One more question:

The example does not include XML headers. Exported experiments don’t either.
The last paragraph specifies the XML headers still.
Are they still needed for the headless runner?

Mark

Good question, and good catch! You do need the standard XML header for the headless runner, although you no longer need the DOCTYPE header. It seems that the lack of a header in exported experiments was a bug, which is now fixed.

Isaac B.

1 Like

So, this was two birds (bugs) with one stone. I did not recognize the second one as a bug when posting this…

Thank you for updating the documentation.

And thank you for correcting the bug in exporting experiments.

I’ll tag this answer as “solution”, but the credit should go to @ERSUCC of course!

Mark

1 Like