gazebosim/sdformat
ToElement methods do not export data from custom xml namespaces
Offen
#1.261 geöffnet am 24.03.2023
bughelp wanted
Repository-Metriken
- Stars
- (216 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
Environment
- OS Version: any
- Source or binary build? any
Description
- Expected behavior: if you have an SDFormat file with data in custom XML namespaces (like custom_elems_attrs.sdf), if you load the file into an
sdf::Rootand then write it out again withRoot::ToElement(), the resulting Element-tree should also have the custom data fields. - Actual behavior: it does not include the custom data fields.
Steps to reproduce
- TODO: write code to reproduce this