Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

REXML changes quote type

未關閉
#74 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
30/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
ruby
領域
backend

研究方向

首先檢查 REXML 的 Node/Element 序列化和解析行為;該 issue 未指定具體的原始檔案或測試。將序列化輸出與原始的已簽署 XML 進行比較,並確定保留引號樣式是否是 parser 應具備的預期能力;該 issue 未定義完成標準。

由索引模型根據 Issue 內容生成。

描述

I work with signed XML files and I'm trying to read an XML file with REXML and extract a Node which I then verify against a signature. My problem is, that REXML changes the double quotes to single quotes in the XML. Everything else (such as spaces, etc) is properly kept. Unfortunately, I can not say if an XML comes with single, double, or even mixed quotes. Is there a way to get an unchanged XML from a Node/Element?

主要語言
Ruby
星號
181
分支
105
平均合併
11 小時 3 分鐘
30 天內合併 PR
1

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

ruby/rexml 的其他 Issue

查看 ruby/rexml 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。