Menu

Random read errors

JM
2004-12-31
2013-05-20
  • JM

    JM - 2004-12-31

    I'm getting random errors reading elements and attributes from my XML files.  For several runs, everything is fine.  Then, without changes to the data, TinyXML will emit an error reading an element or attribute (which causes my program to fail).

    I'm using MSVC7.1 C++ and it only happens in release builds (as far as I can tell).  Does anyone have even a remote clue as to why this could happen?  I'm stuck.

    Thanks,
    Jason

     
    • JM

      JM - 2005-01-24

      I've traced this to TiXmlBase::SkipWhiteSpace(), where it skips the Microsoft UTF-8 stuff.  I guess I'll look for a patch or other workaround until a proper fix is issued.

       
    • Lee Thomason

      Lee Thomason - 2005-01-26

      Please file a bug - I'm going to release a new version soon, and I finally have the 7.1 environment.

      Test file is the best, but the XML zipped that causes the error is critical.

      lee

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.