Error Reading End Tag Tinyxml
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up TinyXML can't read its own file up vote 3 down vote favorite I'm currently working on a C++ MFC project on visual studio 2003. The aim of this project is to be able to take an XML file containing language data, convert it to a simple CSV file and back to XML. To do this, I'm using the TinyXML library, which is simple and good enough for my needs. The problem is that, once I try to convert my .CSV file to an XML, the created XML cannot be opened again with TinyXML. From what I see now, it seems it cannot open the file it just created. After some testing, I've been able to make TinyXML tell me its error: "Error #9: Unable to read end tag". If I bypass the error, the file is readable up to a point where the DOM tree indents to the right for no reason and then, a bit later,the file seems to be empty of any element. This is an erroneous file as read by TinyXML, after having been created by it. Help with error 'error reading end tag' If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Thread: Help with error 'error reading end tag' Thread Tools Show Printable Version Subscribe to this Thread… August 20th, 2014,20:12 #1 jgovernale View Profile View Forum Posts Private Message View Blog Entries View Articles Warrior-Priest Join Date Jun 2014 Location North Carolina Posts57 Help with error 'error http://stackoverflow.com/questions/2297021/tinyxml-cant-read-its-own-file reading end tag' Hello Oh so knowledgeable folk. In my latest creature that parsed fine with the PFRPG FG Creature Parser v2. I open the mod in FG and receive this error. Database Error: A XML parse error occurred processing file KorkaboroIceMephit:db.xml - Error on line 670: Error reading end tag. I don’t understand what the error is. Attached Files db.xml (58.5 KB, 5 views) Reply With Quote August 20th, 2014,20:20 #2 https://www.fantasygrounds.com/forums/showthread.php?21919-Help-with-error-error-reading-end-tag Trenloe View Profile View Forum Posts Private Message View Blog Entries View Articles Moderators Immortal Greater Diety Join Date May 2011 Location Denver, CO, USA. Posts13,340 Line 670 is the special abilities entry for this creature. Errors here are usually due to a special ability paragraph/line not ending in a full-stop/period as the parser uses this to work out where a new special abilities section begins, splits the enrties up and highlights the heading in bold. Summon (Ice Mephit) (Sp) Summon 1 Ice Mephit, 25% (Level 2) doesn't end in a period. Add that and re-parse. FG Con 9 – Fantasy Grounds Online RPG Convention - October 14-16 2016 Register at www.fg-con.com for all the latest info. Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite! Reply With Quote August 20th, 2014,20:28 #3 jgovernale View Profile View Forum Posts Private Message View Blog Entries View Articles Warrior-Priest Join Date Jun 2014 Location North Carolina Posts57 You're a flipping genius as usual. Thank you. Reply With Quote August 20th, 2014,20:43 #4 Trenloe View Profile View Forum Posts Private Message View Blog Entries View Articles Mo you by: leethomason Summary Files Reviews Support Wiki Tickets â–¾ Patches Bugs Feature Requests News Discussion Git CVS Create Topic Stats Graph Forums Projects 43 Developer https://sourceforge.net/p/tinyxml/discussion/42748/thread/deb17c52/ 236 Open Discussion 390 Help Formatting Help TinyXML generates invalid XML Forum: http://forums.codeblocks.org/index.php?topic=1022.30 Open Discussion Creator: James M. Moe Created: 2012-11-22 Updated: 2013-05-20 James M. Moe - 2012-11-22 tinyxml v2.6.2 An string being saved, after translatting to utf-8, to an XML document has an ASCII control character in it, the "heart" character 0x03. Tinyxml dutifully translates it to "". So error reading far, so good. When reading the document back in, tinyxml throws the error "Error reading end tag." Checking the doc with an online validator exposed the error: Character reference "" is an invalid XML character. I would have no trouble with the char entity that tinyxml creates if it did not croak when reading it back in. This error reading end is a defect. How do I report it? How can I correct it? Here is the defective output: "here I am" post here to differ human beings from SPAM bots. Home Help Search Login Register Wiki Code::Blocks » Developer forums (C::B DEVELOPMENT STRICTLY!) » Help wanted » Code::Blocks' translation « previous next » Send this topic Print Pages: 1 2 [3] 4 5 6 7 8 ... 15 Go Down Author Topic: Code::Blocks' translation (Read 213092 times) thomas Administrator Lives here! Posts: 3979 Re: Code::Blocks' translation « Reply #30 on: February 03, 2006, 10:02:53 am » Quote from: heromyth on February 03, 2006, 02:32:36 amAfter CB uses default.conf as its configure file or is built with UNICODE mode, the internationalize of CB seems more difficult than before.I don't want to say much more lest so many people be annoyed. I'll try to solve them.Please do say more. What exactly is making it more complicated? Logged "We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation." heromyth Multiple posting newcomer Posts: 98 Re: Code::Blocks' translation « Reply #31 on: February 04, 2006, 03:16:07 pm » Quote from: thomas on February 03, 2006, 10:02:53 amQuote from: heromyth on February 03, 2006, 02:32:36 amAfter CB uses default.conf as its configure file or is built with UNICODE mode, the internationalize of CB seems more difficult than before.I don't want to say much more lest so many people be annoyed. I'll try to solve them.Please do say more. What exactly is making it more complicated?I build CB with unicode mode, but my translation can't works any more like before. Maybe I don't find the right way. So I build CB with ansi mode. Now my translation works. However another problem produced. That's some phrases translated by me have been written into the file default.conf. When I first launch CB and close it, an exception will be raised. It's from sdk\configuremanager.cpp:487 and it says the node and the namespace are "an_dlg". That's because I have translated this phrase "Layout changed!" in src\main.cpp:917. Then I choice not to translated it and launch CB again (Notice, some Chinese characters have been existed in the file default.conf). A alert window shows these:Code: [Select]TinyXML