xml schema for freecad's xml documents

Is there, or has anybody ever made, a xml schema file (.xsd) for the freecad xml documents?

No, we never did it. We have only created one for the user.cfg file: ee63c324c1

I created a xml schema file for Freecad’s ‘Document.xml’ file and used xsdcxx to generate a xml parser from it. I have successfully read 18 files, mostly from the puma project, and passed 125 tests, so I think it is mostly there. It is attached if anybody wants it.
fcdocument.zip (2.03 KB)

This is great - can the schema be added to the source? I think there’s value in having it.

CC yorik