gazebosim / gazebosim/sdformat

Should validate the contents of <include>

Open
#661 0 comments 1 reaction 1 assignee Claimed by @azeey View on GitHub
bug help wanted
Dominant language
C++
Stars
216
Forks
125
Avg merge
1d 14h
Merged PRs (30d)
14

Description

Currently, `sdf::readXml` is not called on the `` element, so its contents are not validated according to the SDFormat spec. Any unknown elements are silently ignored by the parser except when using the interface API. This is different behavior than when unknown elements are encountered elsewhere (e.g. in ).

For example:
```xml



test_model
override_model_name
4 5 6 0 0 0
bar

```
The element `` should trigger a warning/error depending on the configuration of the parser.

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.