Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Keeping 
 and 
 in XML text (carriage returns and linefeeds)

オープン
#892 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

この issue はまだ評価されていません。

説明

Hi there,

I just started using TinyXML2, and I have to say it's fantastic! It took me very little time to get everything working exactly as I wanted...except for one thing. I am using the library in a program that sucks in an XML file, modifies it a bit, and writes it back out. (The file is actually an XML representation of a circuit schematic from OrCAD Capture software.)

OrCAD embeds carriage returns and linefeeds in XML attributes as hex representations in the form and . When saving out the new file, TinyXML2 removes those strings and replaces them with actual linefeeds and/or carriage returns. Unfortunately, OrCAD can't handle that formatting.

Is there any way to get TinyXML2 to keep the hex representation of these embedded carriage returns/linefeeds?

Thanks for any help!
Ryan

主要言語
C++
スター
5.8k
フォーク
2k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

leethomason/tinyxml2 のほかの issue

leethomason/tinyxml2 の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。