Thanks for discussion, I really need this.
From tinyxml.h: /** The world does not agree on whether white space should be kept or not. In order to make everyone happy, these global, static functions are provided to set whether or not TinyXml will condense all white space into a single space or not. The default is to condense. Note changing this value is not thread safe. */ So please read the documentation and consider using SetCondenseWhiteSpace to fix this "unexpected" behavior. Please close the issue unless the suggestion doesn't cover your...
Have you done this or still looking for solutions? One of mine affordable groomsmen suits team member are expert in these terms.
My Vienna car insurance team member has also similar thinking.
Our executive airport taxi team also facing similar issues while using TiXmlElement.
Thanks for updating, It's look like more valuable now.
As of my experience, second one is possible, but I am not familiar with exact method.
Thanks for sharing this, I was facing similar issues as well.
I am also in search of a solution.
Hi, may be it happened due to over floating data, try to keep work simple and push requests frequently
I will try this for my SIBO Test website.
Thanks for this informative and valuable sharing.
I thinks so it's a temporary issue would be solved automatically.
Facing similar issues with my mentioned business site as well. https://offsetsmokerpoint.com/best-offset-smoker-under-1000/
Thanks for such a valuable information.
Doing a quick look into the code, the Makefile uses TINYXML_USE_STL := NO, meanwhile, SContruct uses useSTL=1 and there is the msvc file tinyxmlSTL.vcxproj too. I read in the changelog that STL had bugs until the version 2.2.0 so I guess is mature enough now. So I asking if should I use STL activated by default.
Is there any possibility to copy all files once with single keyword? If there kindly share here, thanks.
Hi, in Tiny XML what is the way to handle Memory leak file? Can anyone explain it? Thanks
Hi, as newbie I want to learn how we can use this platform superbly, thanks.
Hi, Today I am introducing the best Liposuction in Turkey with you. Must visit this and give me your feedback, thanks.
Yes, it should be copied, may be there is a bug.
Same here with me as well.
I am also finding troubles regarding similar issues, thanks for highlighting this here. I need assistant for my Massage therapy Peterborough website.
Assertion in TiXmlBase::StringEqual can cause DoS
Fix for CVE-2021-42260
\xef\0 can cause TiXmlParsingData::Stamp loop forever, so that I think this can be described as DoS
TIXML_UTF_LEAD_0 can cause TinyXML DoS
I get a bunch of errors saying something along the lines of: CXBMCTinyXML: error: undefined reference to 'TiXmlDocument Any idea?
CXBMCTinyXML: error: undefined reference to 'TiXmlDocument
I was successful on a linux box in the past at doing this but I completely spaced on it (should have saved the notes....I digress) and I forgot how. Anyway - I am trying to compile Kodi from scratch (I know maddening) and they use TinyXML I can "make" the package, it gets to 100% and then it fails....I am compiling now, I will add a pastebin once it completes but it looks like TinyXML is not being used as a library or it is missing functions. I enabled STL....but still no dice. Any advice would be...
I was successful on a linux box in the past at doing this but I completely spaced on it and I forgot how. Anyway - I am trying to compile Kodi from scratch (I know maddening) and they use TinyXML I can "make" the package, it gets to 100% and then it fails....I am compiling now, I will add a pastebin once it completes but it looks like TinyXML is not being used as a library or it is missing functions. I enabled STL....but still no dice. Any advice would be greatly appreciated.
Address sanitizer in TiXmlBase::SkipWhiteSpace
Hello! I am trying to build an xml message where some tags need to have a value that includes CR LF chars. I have made the patch change in ReadValue function and I have the following: TiXmlDocument XMLdoc; TiXmlPrinter XMLprinter; TiXmlElement *pRoot, *pData; TiXmlText *pText; char XMLBuffer[624] = { 0 }; TiXmlBase::SetCondenseWhiteSpace(false); pRoot = new TiXmlElement("MyTest"); XMLdoc.LinkEndChild(pRoot); pData = new TiXmlElement("MyTag"); // Tag Content char receipt_line[512] = { 0 }; strcpy(receipt_line,...
XMLPrinter::ClearBuffer() resets _firstElement
Hi, I'm trying TinyXML for the first time and I love it. I was looking for a quick solution since I'm having to deal with larger binary files that happen to start with an XML header. As a test I simply used the LoadFile() method and opened the complete file, rather than copying the header into a buffer and use the Parse() function. This seems to work well. No error is reported and when I use the SaveFile() function, as a test, a proper xml is created with only the header data. I was wondering how...
Please try: #include <tinyxml.h> #include <assert.h> #include <stdio.h> void main() { TiXmlDocument doc1; const char *ret1 = doc1.Parse( "<Wrong />\n" "\t<Element />\n" "</Wrong>\n" "\n" ); printf("ret1: %s\n", ret1 ? "OK" : "FAIL"); TiXmlDocument doc2; const char *ret2 = doc2.Parse( "<Root>\n" "<Wrong />\n" "\t<Element />\n" "</Wrong>\n" "</Root>\n" "\n" ); printf("ret2: %s\n", ret2 ? "OK" : "FAIL"); } results: ret1: OK <--- ???? ret2: FAIL
Please try: #include <tinyxml.h> #include <assert.h> #include <stdio.h> void main() { TiXmlDocument doc1; const char *ret1 = doc1.Parse( "<Wrong />\n" " <Element />\n" "</Wrong>\n" "\n"); printf("ret1: %s\n", ret1 ? "OK" : "FAIL"); TiXmlDocument doc2; const char *ret2 = doc2.Parse( "<Root>\n" "<Wrong />\n" " <Element />\n" "</Wrong>\n" "</Root>\n" "\n"); printf("ret2: %s\n", ret2 ? "OK" : "FAIL"); } results: ret1: OK ret2: FAIL
Please try: include <tinyxml.h> include <assert.h> include <stdio.h> void main() { TiXmlDocument doc1; const char *ret1 = doc1.Parse( "<Wrong/>\n" " <Element/>\n" "</Wrong>\n" "\n"); printf("ret1: %s\n", ret1 ? "OK" : "FAIL"); TiXmlDocument doc2; const char *ret2 = doc2.Parse( "<Root>\n" "<Wrong />\n" " <Element />\n" "</Wrong>\n" "</Root>\n" "\n"); printf("ret2: %s\n", ret2 ? "OK" : "FAIL"); } ret1: OK <---- why? ret2: FAIL
Please try: TiXmlDocument doc1; const char *ret1 = doc1.Parse( "<Wrong />\n" " <Element />\n" "</Wrong>\n" "\n"); TiXmlDocument doc2; const char *ret2 = doc2.Parse( "<Root>\n" "<Wrong />\n" " <Element />\n" "</Wrong>\n" "</Root>\n" "\n"); results ==> ret1 is not NULL. ret2 is NULL
TinyXml(2.6.2) accepts wrong XML?
While writting xml files to the disk with Tiny xml some tag data are not properly written into the file. e.g Sometime child tag is written after parent child (very rare but same code work properly in 99 percent cse)? Is there any way to fix this issue? a) I am creating multiple Objects of Tiny XML to parse different XML simultaneously. b) If the two program simultaneously write in same XML is it safe.
I have experienced two problem While writting xml files to the disk with Tiny xml some tag data or not properly written into the file . Some time child tag is written after parent child. Is there any way to fix this issue. Also is it possible to validate the xml file whether it is corrupt or not with tiny xml
I have experienced two problem While writting xml files to the disk with Tiny xml some tag data or not properly written into the file . Some time child tag is written after parent child. Is there any way to fix this issue. Also is it possible to validate the xml file whether it is corrupt or not with tiny xml
tinyxml.h:353: sanity check wrong way around ?
Hello,I'm new to TinyXML.Today,I got two different results when I use macro TIXML_USE_STL....
Hello,I'm new to TinyXML.Today,I got two different results when I use macro TIXML_USE_STL....
Oh, it did work, but the printer element didn't reflect the change...interesting...
I have multiple classes to hold parts of information, the classes are related but...
Ha ha yeah I realized that last night... I feel like an idiot for not using GetLine...
It seems to me this isn't a TinyXml problem. If you want to read a paragraph of text...
It seems to me this isn't a TinyXml problem. To read a paragraph of text you'll need...
Been banging my head on it for a few hours... Tried the c_str method to try and convert...
Hey everyone! Tiny XML has been great so far but I'm having what I feel like is a...
Hey everyone! Tiny XML has been great so far but I'm having what I feel like is a...
Hello, I'm using following code to demonstrate the behavior: void load1MbXmlFile()...
I see how to 'print' to a memory string; how, now, do I load from the string at the...
I wonder how to read & write a stucture like this in tinyxml: <Array> <Object> <Object>...
I'm using TinyXML2 to load an xml document from disk. The path of the file (configFileName)...
Hi, I use tinyxmlparser as part of Notepad++ project (http://svn.tuxfamily.org/viewvc.cgi/notepadplus_repository/trunk/PowerEditor/src/TinyXml/),...