Menu

May be Whitespace error ?

Developer
oaealex
2007-06-22
2013-05-20
  • oaealex

    oaealex - 2007-06-22

    Hello! First of all to thank developers for fine idea tinyXml - the excellent and necessary project!

    At analysis of the message by Parse method

    <tag attr = "some    attr" </tag>
    I receive errorsage on a mistake

    If I parse <tag attr = "someattr" </tag>
    That process no errors.

    How it to solve?

    PS^ Sorry for my english

     
    • oaealex

      oaealex - 2007-06-22

      Very Sorry !!! This is my bag !
      My C bad tested cod:
      char *AbonStr =  "<tag attr = ""som  eattr"" </tag>" ;
           TiXmlDocument Doc ; Doc.Parse(AbonStr) ;
      ...
      But valid  cod is:

      char *AbonStr =  "<tag attr = \"som  eattr\"> </tag>" ;
           TiXmlDocument Doc ; Doc.Parse(AbonStr) ;

      Im sorry :)

       

Log in to post a comment.