News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

If you experience TinyXml errors...

Started by MortenMacFly, October 10, 2006, 11:02:30 AM

Previous topic - Next topic

MortenMacFly

Dear all,
if you experience TinyXml errors on the startup of C::B please notice:
So far the strings in the configuration were saved "plain". Thus for example if you searched for "cout <<" this was saved just as this in the config. As you might be aware "<" and ">" not encapsulated can bring an XML parser in trouble - so with TinyXml. The error message will tell you the row and column where in the XML file this error occured. In that case open the XML file (e.g. default.conf from C::B), go to that row/column and remove any tags like "<" and ">". Repeat this steps until you receive no more errors (;-)). The XML file should now be valid again. The next time it gets saved threse strings are properly encapsulated in a CDATA struct... thanks Thomas.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]