gazebosim/sdformat

ToElement methods do not export data from custom xml namespaces

Aberta

#1.261 aberto em 24 de mar. de 2023

 (5 comentários) (0 reação) (0 responsável)C++ (122 forks)auto 404
bughelp wanted

Métricas do repositório

Stars
 (216 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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::Root and then write it out again with Root::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

  1. TODO: write code to reproduce this

Output

Guia do colaborador