Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Keeping 
 and 
 in XML text (carriage returns and linefeeds)

Abierto
#892 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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

Lenguaje dominante
C++
Estrellas
5.8k
Forks
2k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de leethomason/tinyxml2

Todos los issues de leethomason/tinyxml2

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.