gazebosim / gazebosim/sdformat

Priority of required vs default

Open
#637 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
216
Forks
125
Avg merge
1d 14h
Merged PRs (30d)
14

Description

This is a question for any element, but particularly for a plugin (e.g. http://sdformat.org/spec?ver=1.8&elem=world#gui_plugin ).

If both a default value (e.g., `__default__`) is present and the attribute is set to `required=1` which one of these is taking priority? Is this a valid element of SDFormat:

```

```

Or should the default be ignored? (makes perhaps more sense here, but I'm not sure about the general case)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.