Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Small bug in DeXml
Small bug in DeXml [message #20284] Fri, 06 March 2009 20:00 Go to previous message
phirox is currently offline  phirox
Messages: 49
Registered: December 2007
Member
I use XML for storing settings, and even communication through sockets. But I found a weird thing, you can't put a \n in a string and then parse it back. Eventually I discovered this is because of the function DeXml() in the file Core/XML.cpp, in this part:
else if((byte)*s < ' ' && *s != '\n') result.Cat(NFormat("&#x%02x;", (byte)*s));

This should be changed to the code below.
else if((byte)*s < ' ') result.Cat(NFormat("&#x%02x;", (byte)*s));

I don't see any reason why it should not be coded.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Hi! Performance question
Next Topic: bug StaticConditionVariable::Initialize() has no implementation
Goto Forum:
  


Current Time: Thu May 16 20:39:07 CEST 2024

Total time taken to generate the page: 0.03190 seconds