XML Persistence Format

Hi,

I've seen the discussions about an XML based persistence format (http://www.box2d.org/forum/viewtopic.php?f=3&t=6117&start=30). Since I'm using ChainShape and the latest dev builds and protobuffer based persistence doesn't support that, I'm creating my own persistence now as a workaround based on JAXB:

The current version of the schema is here (https://github.com/eppleton/JBox2D-Support/blob/master/World%20Editor/src/de/eppleton/jbox2d/persistence/Box2d.xsd)

Maybe it's useful as a starting point. Immediate benefit of a shared XML based format would be, that we can exchange worlds across platforms, use the schema to validate and have IDE support including schema based code completion in IDEs for free.

Best regards

Toni
404

Original thread: https://box2d.org/forum/viewtopic.php?t=8843