gazebosim/sdformat

ToElement methods do not export data from custom xml namespaces

オープン

#1,261 opened on 2023/03/24

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (122 件のフォーク)auto 404
bughelp wanted

Repository metrics

Stars
 (216 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド