Skip to content

Document the MJCF XSD schema - #3455

Open
julien-blanchon wants to merge 1 commit into
google-deepmind:mainfrom
julien-blanchon:xsd-docs
Open

Document the MJCF XSD schema#3455
julien-blanchon wants to merge 1 commit into
google-deepmind:mainfrom
julien-blanchon:xsd-docs

Conversation

@julien-blanchon

Copy link
Copy Markdown

Documents the XSD added in 1e3c8f3: a short section in the XML Reference intro covering what mjcf.xsd is, how to reference it from a model, and light/dark screenshots of the editor support.

@yuvaltassa can you have a look ?

Adds an "XSD schema" section to the XML Reference introduction: what
src/xml/generated/mjcf.xsd is, how to reference it from a model to get
completion and diagnostics in an editor, and the caveat that it is
deliberately permissive and not a specification of model validity.

Also fixes the link label of the changelog entry, which pointed at
model/mjcf.xsd.
@julien-blanchon

Copy link
Copy Markdown
Author

I kept this brief because I think the screenshots are more than enough to showcase it

@julien-blanchon

Copy link
Copy Markdown
Author

PS: I'm wondering if eventually the <mujoco xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/google-deepmind/mujoco/refs/heads/main/src/xml/generated/mjcf.xsd"> header should not be include in the examples of the repo ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant