Keeping 
 and 
 in XML text (carriage returns and linefeeds)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
The payload names no source files, so start from the repository's parse-and-save path with a small reproduction: load a document whose attribute contains the character references and , save it, and compare the output. Done means the saved attribute keeps the hex references instead of raw carriage returns and linefeeds, with a test covering that round trip. Check first whether the maintainers want this behavior at all, since the thread has no replies in about four years.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C++
- Star
- 5.8k
- Fork
- 2k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của leethomason/tinyxml2
-
CDATA output containing ]]> is not well-formed XMLCó thể đã có người làm @bconnnnn đã nhận 8 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
leethomason/tinyxml2#1097 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
leethomason/tinyxml2#923 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
leethomason/tinyxml2#914 ·
-
New release requestĐang mở
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 15/100
leethomason/tinyxml2#1087 · 4 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 18/100
leethomason/tinyxml2#1085 · 1 bình luận ·
Tất cả issue của leethomason/tinyxml2
Issue tương tự
-
Web3 RPC: one-element batch request returns an object instead of an array (breaks ethers.js v6)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
FISCO-BCOS/FISCO-BCOS#5706 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
[开源推荐] Windows 系统维护工具箱,支持后台任务队列Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
521xueweihan/HelloGitHub#4011 ·
-
docs(simulation): Quickstart publishes UDP 14550, which the SITL images' own docs say not to doĐang mởstatus:needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
PX4/PX4-Autopilot#29292 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
I/O internal correctness medium priority rt_lib
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
GUI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
sonic-pi-net/sonic-pi#3594 ·